Hello,

i am working on a code that has to return timestanp and size of the file.

the code i am using -         my $mtime = (stat($file))[9];


but when i execute it in the cmd line, it says - Use of uninitialized value
in stat at /usr/lib/perl5/5.8.8/File/stat.pm line 49


I am very new to perl and not sure whats wrong or where i am going wrong.
Any help would be appreciated.

Thanks!

-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to