can be simplified toour %opts; *opts = \%OPTS::opts; if ($OPTS::opts{f}) { #do stuff }
orif ($OPTS::opts{f}) { #do stuff }
our %opts; *opts = \%OPTS::opts; if ($opts{f}) { #do stuff }
In reply to Re^3: Sharing Getopts::Std amongst several related scripts
by ikegami
in thread Sharing Getopts::Std amongst several related scripts
by McDarren
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |