![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Getting modified date for a file (Win32)by maa (Pilgrim) |
on Aug 18, 2004 at 09:35 UTC ( #383904=note: print w/replies, xml ) | Need Help?? |
I use that on NT4 all the time... are you using UNC filenames or a mapped drive? (UNC works). Try a one-liner... C:\rexec>echo > file.txt C:\rexec>perl -e "print scalar localtime((stat('file.txt'))[9])" Wed Aug 18 10:33:50 2004
In Section
Seekers of Perl Wisdom
|
|