![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^3: push foreach glob - bug?by ikegami (Patriarch) |
on Jan 14, 2010 at 02:00 UTC ( #817324=note: print w/replies, xml ) | Need Help?? |
You got lucky. On failure, when called in scalar context, it happens to return a value that's both the number zero and the empty string. On success, when called in scalar context, it happens to return 1. Both results are undocumented and unreliable. You're only guaranteed to get a true or false value. should be
In Section
Seekers of Perl Wisdom
|
|