in reply to Re^5: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
in thread comparing 2 file time date stamps
path" is not exported by the Path::Tiny module\nCan't continue after import
All you need is use Path::Tiny; ... newer versions of Path::Tiny allow typing use Path::Tiny 'path'; which documents where path() comes from
Path::Tiny uses File::stat and File::Spec automagically ... stick with the path() api, and get the latest version for the most features and bug fixes
Both modules are shown as available via ppm http://code.activestate.com/ppm/Path-Tiny/ and http://code.activestate.com/ppm/Time-Piece/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
by parv (Parson) on Nov 05, 2014 at 19:38 UTC |
In Section
Seekers of Perl Wisdom