P is for Practical | |
PerlMonks |
Re: Returned value from subroutine is 1 when returning ""by mjscott2702 (Pilgrim) |
on Jan 06, 2011 at 16:21 UTC ( [id://880855]=note: print w/replies, xml ) | Need Help?? |
You should use "or" instead of "||" here, since it has lower precedence - in fact, I believe(?) this is the recommended practice.
In Section
Seekers of Perl Wisdom
|
|