in reply to Re^4: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
in thread comparing 2 file time date stamps
Did you try removing the quotes around the file name variable? Run the following, verbatim, and post the results, verbatim. Where I have the ???, fill in the path and name of one of your files.
use strict; use warnings; use File::stat; use Time::localtime; my $file = ???; printf "%s: %s\n", $file, ctime(stat($file)->mtime);
1 Peter 4:10
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
by craigt (Acolyte) on Nov 06, 2014 at 02:34 UTC | |
by Anonymous Monk on Nov 06, 2014 at 08:31 UTC | |
Re^6: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
by craigt (Acolyte) on Nov 05, 2014 at 23:25 UTC |
In Section
Seekers of Perl Wisdom