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.
|Replies are listed 'Best First'.|
Re^3: File::Glob infinate loop with while loop unlike core glob function
by jpl (Monk) on Jul 29, 2011 at 18:30 UTC