Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Paul] strict refs/hash ref

Quote Reply
Re: [Paul] strict refs/hash ref In reply to
Ok, here is the actual links code that is screwing up, it is pretty obvious why:
(pardon the blah blah blah's and any typos there may be, my copy and paste does not work for some reason)

Code:
my $user=Links::init_user($username,$password);
if (!$user){
print $IN->header();
print links(site html display blah blah blah)
return;
}
if ($user->{'STATUS'} eq 'NOT VILIDATED') { #ERROR HERE
print $IN->header();
print links(site html display blah blah blah)
return;
}

$user is going to be a 1 when it gets to the error line so $user->STATUS makes no sense. But I dont see how the old function works or how I can get mine to work without modifing the links source?

Last edited by:

shackman: Jul 22, 2002, 9:17 AM
Subject Author Views Date
Thread strict refs/hash ref shackman 5655 Jul 19, 2002, 7:21 AM
Post Re: [shackman] strict refs/hash ref
Paul 5559 Jul 19, 2002, 7:26 AM
Thread Re: [shackman] strict refs/hash ref
shackman 5566 Jul 19, 2002, 7:35 AM
Post Re: [shackman] strict refs/hash ref
Paul 5512 Jul 19, 2002, 8:05 AM
Post Re: [shackman] strict refs/hash ref
shackman 5491 Jul 19, 2002, 8:12 AM
Post Re: [shackman] strict refs/hash ref
shackman 5453 Jul 22, 2002, 6:32 AM
Thread Re: [shackman] strict refs/hash ref
pugdog 5465 Jul 22, 2002, 7:33 AM
Thread Re: [pugdog] strict refs/hash ref
shackman 5459 Jul 22, 2002, 7:53 AM
Thread Re: [shackman] strict refs/hash ref
Paul 5476 Jul 22, 2002, 8:00 AM
Thread Re: [Paul] strict refs/hash ref
shackman 5467 Jul 22, 2002, 9:12 AM
Thread Re: [shackman] strict refs/hash ref
Paul 5464 Jul 22, 2002, 9:18 AM
Thread Re: [Paul] strict refs/hash ref
shackman 5460 Jul 22, 2002, 9:25 AM
Post Re: [shackman] strict refs/hash ref
Paul 5444 Jul 22, 2002, 9:31 AM
Post Re: [shackman] strict refs/hash ref
pugdog 5441 Jul 22, 2002, 10:11 AM