http://www.perlmonks.org?node_id=917511


in reply to Re: File::Glob infinate loop with while loop unlike core glob function
in thread File::Glob infinite loop with while loop unlike core glob function

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.