|laziness, impatience, and hubris|
Stat - returning undef valuesby viffer (Sexton)
|on Aug 02, 2013 at 03:10 UTC||Need Help??|
viffer has asked for the
wisdom of the Perl Monks concerning the following question:
Hi all I am trying to obtain a time stamp using File::stat.
I am obtaining values in the array, but when I try and access individual fields they return undef.
yet when I try and access a value in the array, via
it returns undef.
I have since found that
does indeed return the value "1375371182"
Similarly when using
stat returns undef in all fields.
I kind of get that it's returned a two dimensional array, but I don't really follow why the code above doesn't appear to work?