|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^5: File NCopy concat (glob)by ikegami (Patriarch) |
| on Sep 15, 2006 at 01:08 UTC ( [id://573055]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||