Hi, I'm trying to get file creation or modification dates from a mapped network drive, using Win32 and Perl. Either of these methods works fine on local drives, but don't work on network drives:
my $ctime=(stat($dir.$source))[10] or die "stat($dir\\$source) failed: $!\n"; my $ctime = -M "$dir.$source" perldoc -f stat mentions that mtime isn't implemented on network shares, but says that the other functions should work; in fact, any stat() call fails with "file not found". How can I get this done without switching languages? I'm almost desparate enough to `dir $dir.$source` and parse the results, which seems unspeakably lame. -- Jack Coates At Monkeynoodle Dot Org: It's A Scientific Venture! "I spent all me tin with the ladies drinking gin, so across the Western ocean I must wander" - traditional _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
