--- [EMAIL PROTECTED] wrote:
> if ( $formdata{view_name} ne "" ) {
> $view = $formdata{view_name};
> $viewtag = "1";
> }
For a simple boolean test, I usually find it more readable to be less
explicit in these cases:
if ( $formdata{view_name} ) {
# etc.
}
=====
print "Just another Perl Hacker\n"; # edited for readability =o)
=============================================================
Real friends are those whom, when you inconvenience them, are bothered less by it than
you are. -- me. =o)
=============================================================
"There are trivial truths and there are great Truths.
The opposite of a trival truth is obviously false.
The opposite of a great Truth is also true." -- Neils Bohr
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/