Problem with STAT under Windows

2008-03-31 Thread anders
I tryed some testkod below, i like Perl to give med TIME for every file, But all variable just get blank, (i got filename). # Reads all files to a list sub readFileList { my @result; local $dev; local $ino; local $mode; local$nlink; local $uid; local $gid; local $r

Re: Problem with STAT under Windows

2008-03-31 Thread Gunnar Hjalmarsson
anders wrote: I tryed some testkod below, i like Perl to give med TIME for every file, But all variable just get blank, (i got filename). You need to either alter the current directory using chdir(), or pass the full path to stat(). You may want to try this code: use strict; use war