in reply to Portability of glob function in a modern perl
It became "portable" in the sense that it behaves in its broken way everywhere, regardless of what shell is installed now, because the functionality was moved into Perl.
It is quite common for Perl scripts using glob to break on Win32 because the author could not imagine that whitespace is a thing that happens in filenames and directories. So for anything but trivial hacks, File::Find or File::Find::Rule are to be preferred over glob.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Portability of glob function in a modern perl
by itub (Priest) on Aug 12, 2005 at 16:15 UTC | |
by Corion (Patriarch) on Aug 12, 2005 at 16:32 UTC | |
Re^2: Portability of glob function in a modern perl
by bsb (Priest) on Jul 18, 2008 at 06:30 UTC | |
by Corion (Patriarch) on Jul 18, 2008 at 06:46 UTC |