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


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

Yes that does what I need, thanks.

I only noticed this because I was working through the Camel book 'Filename Globbing Operator' section in Chapter 2 where it talks about while magic but the example didn't work for me because I was using File::Glob.