Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 exploiting the Monastery: (15)
As of 2015-07-06 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls