Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: MySQL backup

by penguinfuz (Pilgrim)
on May 25, 2002 at 10:42 UTC ( #169257=note: print w/replies, xml ) Need Help??


in reply to Re: MySQL backup
in thread MySQL backup

Thanks for the input gav^

...removing the redundant ( and ) in $query = (qq^SHOW DATABASES^)
Done, duhr! ;)

...replacing grep { $_ =~ ".gz" } with grep { /\.gz$/ } or being lazing and using <*.gz>
Done. Since I am already defining the ".gz" extension in a variable, I can just pass that information to the "clean_up()" routine, cool.

...using bound variables with bind_col and bind_columns
...using File::Path to remove directories in a portable way
++ for giving me something new to learn about, cheers!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2021-05-09 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (100 votes). Check out past polls.

    Notices?