"be consistent" | |
PerlMonks |
Re^2: File::Glob infinite loop with while loop unlike core glob functionby Gulliver (Monk) |
on Jul 29, 2011 at 18:11 UTC ( [id://917511]=note: print w/replies, xml ) | Need Help?? |
I didn't say it was a bug. Perhaps you intended to reply to the Anon Poster. From Programming Perl, 3rd edition: Whether you use the glob function or the old angle-bracket form, the fileglob operator also does while magic like the line input operator, assigning the result to $_. (That was the rationale for overloading the angle operator in the first place.) I expected to be able to just put the use File::Glob ':glob' at the top of my existing code to fix the whitespace issue.
In Section
Seekers of Perl Wisdom
|
|