Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Simple Perl Backup help

by ww (Archbishop)
on Aug 03, 2012 at 20:22 UTC ( #985343=note: print w/replies, xml ) Need Help??

in reply to Simple Perl Backup help

You already have a couple three good answers, but what struck me was your use of invisible ink for             on line 3. It's really bad practice to put your use strict; directive in invisible ink.

Seriously, until you're quite expert, strict (or, for 5.14, a use 5.014 -- which may be good, with the appropriate version value, back to 5.010) will help you find your mistakes and save you from much grief.

Replies are listed 'Best First'.
Re^2: Simple Perl Backup help
by laxman526 (Initiate) on Aug 03, 2012 at 20:54 UTC

    thanks ww. Yes, you're right, I am missing strict. I had encountered an error with it when I was using strftime. I just re-ran the script w/ the use strict; and came out fine. Yes, being a noob, I should def. use all of the syntax and error checking functions as much as possible.

    Thanks again for all of your input.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985343]
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2018-04-24 21:25 GMT
Find Nodes?
    Voting Booth?