Win has asked for the wisdom of the Perl Monks concerning the following question:
foreach ( @directories ) # foreach of the time stamped directories { $directory_name = $_; # I need to take the directory name here # I need to process the directory name here to give me a time tha +t the directory is labelled with my $date_time = ; # .... and to assign a value to $date_time my $now = ; Not sure how to get this value if ($date_time => $now ) # If the date has been passed { my $directory_to_move = $input_directory_CC."".$directory_name +; return $directory_to_move; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Approaches to time stamping request files
by merlyn (Sage) on Apr 30, 2007 at 10:43 UTC | |
|
Re: Approaches to time stamping request files
by TomDLux (Vicar) on Apr 30, 2007 at 19:56 UTC | |
by Win (Novice) on May 01, 2007 at 10:30 UTC |