|go ahead... be a heretic|
readdir and while - magic?by bjelli (Pilgrim)
|on Jan 03, 2003 at 15:16 UTC||Need Help??|
bjelli has asked for the
wisdom of the Perl Monks concerning the following question:
dear fellow monks,
why does ...
... work correctly, even for a filename like "0" that evaluates to false in boolean context? (see here for full code + output)
This seems to be an extreme case of "do-what-i-mean". I find it a little scary, because I don't know how it does what I mean ;-)
see also the php documentation.
-- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at