http://www.perlmonks.org?node_id=1031989

pelos has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to get the time of the file or the size or any of the attributes of the file. after reading several examples and replicating the code I get a blank line =( been new to perl I am assuming that might be something I am doing, I am using active perl in windows 7
use File::stat; $mtime = (stat("C:/PC_Files/Dropbox/Beta/test.txt")); print $mtime[5];
doesn't matter what 0-13 stat I ask. but if I print the variable I get no [] I get
File::stat=ARRAY(0x3585c0)
thanks for the tips.