Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: list slice (fewer)

by tye (Sage)
on Jul 21, 2006 at 22:35 UTC ( #562968=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $year= ( localtime (stat $file)[9] )[5] + 1900;
    
  2. or download this
    my $year= ( localtime +(stat $file)[9] )[5] + 1900;