which is a simple: my $config_file = shift || "etc/allweb-backup.conf"; Same results, cleaner code (IMHO).my $config_file = shift; if (!$config_file) { $config_file = "etc/allweb-backup.conf"; }
In reply to Re^3: For the life of me, i can't figure out this "use strict" variable problem
by Nkuvu
in thread For the life of me, i can't figure out this "use strict" variable problem
by dcasey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |