|
|
| XP is just a number | |
| PerlMonks |
Re^3: Net::MirrorDir helpby Corion (Pope) |
| on Nov 17, 2011 at 11:03 UTC ( #938590=note: print w/ replies, xml ) | Need Help?? |
|
A cursory glance at the module source reveals this gem:
So yes, filenames containing spaces are broken. A potential fix might be
... if one could be sure that each FTP server would return 9 columns of output. Another alternative could be to rely on the file date/time as a marker, or to try a fixed width parser for the ftp output, and checking that split /\s+/ always returns the same number of items.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||