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

Re^3: Deleting undefined entries from DB_FILE hash

by 2teez (Vicar)
on Jul 24, 2012 at 00:45 UTC ( [id://983267]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     foreach my $key ( keys %hash ) {
    
    ...
        my $dt   = $tmp[1];
        my ($year, $month, $day) = $dt =~ m|(\d{4})(\d{2})(\d
    +{2})T.*|;
    
  2. or download this
     foreach my $key ( keys %hash ) {
    
    ...
    printf("bucket: %s\ttype: %s\t%s-%s-%s\t%s\n",$bucket
    +,$type,$year,$month,$day,$dt);
    ......
    

Log In?
Username:
Password:

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

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

    No recent polls found