Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: processing dates as directories

by farang (Chaplain)
on Aug 10, 2013 at 02:15 UTC ( [id://1048865]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        # qx( 'cp' $fullpath $fullpath'.bkup');
        # to back up files before proceeding.
    }
    
  2. or download this
    my $start_date = $ARGV[0] || 'bogus';
    die "bad argument" unless $start_date =~ /\d{8}/;
    my $end_date = $ARGV[1] || 'bogus';
    die "bad argument" unless $end_date =~ /\d{8}/;
    ...
    
  3. or download this
        next if $file > $end_date;
        last if $file < $start_date;
        ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1048865]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found