Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
How can I find out the year of the file
megamala
How can I find out the file(unix) created year using perl. If I do ls -l then , it is not displaying the year of the file. Is there any using perl module we can find out the file created year.
TIA
MM Guptha
Find more posts tagged with
Comments
JonathonG
Take a look at the documentation on the "stat" function:
http://www.perldoc.com/perl5.6.1/pod/func/stat.html
And the documentation on the "localtime" function:
http://www.perldoc.com/perl5.6.1/pod/func/localtime.html
HTH,
Jonathon
Independent Interwoven Contractor
megamala
Thanks, I got it.
TIA
MM Guptha