The system is winxp Sp1, perl 5.8.4.
When you do a ls to a c:/ or c:/dir1, it recieves the file lists ok, but the traversing of dir structure not working correctly. It appears to insert a unneeded ":".
Code I used to fire it off:
use strict;
my $file;
my $return;
my $Val;
$file = "c:/Perl/bin/perl.exe c:/Perl/bin/ls.pl -ltrR C:/Windows";
open(PS_F, "$file|");
while (<PS_F>)
{
$Val = $Val . $_;
}
close(PS_F);
print "RES: $Val\n";
==================================================================
Results of the Error:
pls: can't access 'C:/Windows: /twain_32': No such file or directory
C:/Windows: /twain_32:
total 0
If you notice the extra ":" after windows and before the /twain32 directory, this is not needed. I will see what I can do to fix it.
Thanks,
Cade