Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Simple Perl Backup help

by ww (Bishop)
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]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2016-10-24 14:49 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (307 votes). Check out past polls.