Home : General : Perl Programming :

General: Perl Programming: Re: [Andy] Auto Backup script..: Edit Log

Here is the list of edits for this post
Re: [Andy] Auto Backup script..
Argh, why do you keep quoting variables :)

chmod(0666, "$path_to_db");

Thats a pet hate of mine.

You are also using $_ in a split when split defaults to $_ so you don't need it....eg...

@foo = split /-/, $_

is the same as:

@foo = split /-/;

Not big deals but just better aesthetically and syntactically IMO

Last edited by:

Paul: Jun 27, 2002, 2:29 AM

Edit Log: