Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: system "gzip $full_name" is taking more time

by bulk88 (Priest)
on Dec 08, 2013 at 04:11 UTC ( [id://1066182]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
               my $file_time = (stat($full_name))[9];
               my $diff = $now - $file_time;
               $diff = $diff / 86400;
               my $read = localtime($file_time);
    
  2. or download this
    my $file_time;
    my $diff = ($now - ($file_time = (stat($full_name))[9])) / 86400;
    my $read = localtime($file_time);
    
  3. or download this
               $diff = $diff / 86400;
               my $read = localtime($file_time);
    ...
    
               } elsif ( $diff > 3 ) {
                     next if (/\.gz/);
    
  4. or download this
                  unlink "$full_name";
    
  5. or download this
               my $read = localtime($file_time);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-16 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found