![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^5: File NCopy concat (glob)by ikegami (Patriarch) |
on Sep 15, 2006 at 05:08 UTC ( [id://573055]=note: print w/replies, xml ) | Need Help?? |
File::NCopy's copy's argument is a glob pattern, not a file name. This pattern is passed to glob, which considers spaces to be pattern seperators, not literals. Refer to the passage I emphasised in the following snippet from File::Glob's documentation:
Update: File::NCopy works if you execute the following before calling copy:
And if the spaces are backslashed (or quoted).
Truly, File::NCopy should be used with care if not considered outright broken. At the very least, it would be best if File::NCopy used bsd_glob rather than glob.
In Section
Seekers of Perl Wisdom
|
|