in reply to
When warnings get in the way
I will sometimes use this kind of construct if I have reasons for not defining $foo earlier.
if ( ($foo||'') eq "true") { ...
[download]
Comment on
Re: When warnings get in the way
Download
Code
In Section
Seekers of Perl Wisdom