Albert Browne wrote:
<snip>
Thirdly, the test
if ($Author ne "")
is tidier written as
if ($Author)
Unless of course $Author is 0 in which case you have changed the logic. I often use 0 as the default user account id on websites that have user registration, in which case empty string or undef is no user, 0 is the default user, and anything true is a registered user....
Making the above statement is dangerous without knowing the design context...
http://danconia.org
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>