in reply to Re: Listing files
in thread Listing files
sub get_month_year { my $file = shift; #PLEASE EXPLAIN WHAT SHIFT IS DOING? my @params = stat $file; my @dparams = localtime($params[9]); my $month = $dparams[4] + 1; my $year = $dparams[5] + 1900; return($month, $year); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Listing files
by snapdragon (Monk) on Feb 13, 2002 at 12:36 UTC |