|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^2: Or Operatorby beable (Friar) |
| on Jul 31, 2004 at 01:40 UTC ( #378852=note: print w/ replies, xml ) | Need Help?? |
|
I think this is the clearest and most concise way to express it: my $page = $cgi->param("page") || "login"; You might say that inexperienced people won't understand it, but once they see it a few hundred times (because this is a very common way of doing it), they'll probably get it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||