in reply to Or Operator
(It's me again.)
BTW, I got it to work with:
$page = $cgi->param("page") or $page = "login";
But this:
my $page = $cgi->param("page") or $page = "login";
Fails. Why? Is there something I can change to make it work?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Or Operator
by ysth (Canon) on Jul 31, 2004 at 01:32 UTC |
In Section
Seekers of Perl Wisdom