Subject: | File names with spaces |
When retrieving a list from the remote or local directories, I can see
it show the full file name with spaces in between (using readdir) when
'debug' is set to 1.
But the return value shows just the last word of the file name with
spaces for example:
$Filename = "this is a test.txt";
Return Value = "test.txt"
Looking through the source code of the module itself, the following line
looks suspicious:
@info = split(/\s+/, $line);
System Info:
DistName: Net-MirrorDir-0.20
Perl Version: v5.8.5
OS: RHEL 4 (Linux 2.6.9-100.ELsmp)