How many systems are you backing up Bill the Anonymous Monk ? Are you going to deploy the script to every corner of the network, hack the configuration each time? What happens when the script is revised ? Magically diff the code updates from the variable hacks and then what. The OO call to Backup.pm could easily be a single config file. Update the module often as you like , all the config stays where it should be.
Backup->new( "/etc/sys-backup.cfg" );If I've typed it twice already, how many more times today before I make it a method? $self->grumpy_reply(\$parent) : )
In reply to Re: Prior art reference, and comment
by submersible_toaster
in thread Perl Programming guidelines/rules
by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |