Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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.


Comment on Re: Simple Perl Backup help
Select or Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2014-09-22 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (191 votes), past polls