in reply to Re^4: Piping many individual files into a single perl script
in thread Piping many individual files into a single perl script
provided that does it conform to the standard behaviour on the given OS.
Perl's glob is platform independent. It behaves the same on all platforms.
if e.g. glob() breaks when a space is present
It's done that way to allow glob('*.h *.c'), but I called it broken since patterns are usually already separated into multiple calls to glob. bsd_glob is identical to glob except for the difference in the treatment of spaces.
under Windows, it's not defined at all, being left to each individual application
They usually delegate to the FindFirstFile system call. Perl has File::DosGlob which resembles FindFirstFile.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Piping many individual files into a single perl script
by blazar (Canon) on Oct 11, 2008 at 19:47 UTC |