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

Re: Origin of 'md5sum' and 'sh' logs

by Lotus1 (Vicar)
on Feb 26, 2019 at 17:30 UTC ( [id://1230580]=note: print w/replies, xml ) Need Help??


in reply to Origin of 'md5sum' and 'sh' logs

if (-e $filepath) { # the file exists if (-M $filepath > $maxage_days) { my $exception = { table => $tablename, exception => 'outofdate', data => { file => $filepath, age => sprintf("%.2f", (-M $filepath)*24) . ' hou +rs', still_copying => 0 } };

This won't compile since you don't have the same number of opening and closing curly brackets, '{' and '}'. Your indentation is confusing folks also. One suggestion is to use a programming text editor that will help you keep track of opening and closing brackets and do syntax highlighting.

Replies are listed 'Best First'.
Re^2: Origin of 'md5sum' and 'sh' logs
by soonix (Canon) on Feb 26, 2019 at 18:14 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1230580]
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-03-28 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found