use Backup; Backup::doit config => "/etc/sys-backup.cfg";
works as well as an OO-wrapper.
I've written backup programs in Perl as well. It did use a configuration file, and the functionality was changed without the need to change the interface. And guess what? It wasn't OO!
Abigail
In reply to Re: Prior art reference, and comment
by Abigail-II
in thread Perl Programming guidelines/rules
by hakkr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |