Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Confused by a Conditionalby wog (Curate) |
on Jun 09, 2001 at 21:16 UTC ( [id://87204]=note: print w/replies, xml ) | Need Help?? |
The reason the conditional is coming out as true is
that it is not parsed the way you think it is:
... is the same thing. The strings 'TITLE', etc. are considered true by perl. (update: ... and everyone beats me and gives better answers. Sigh...)
In Section
Seekers of Perl Wisdom
|
|