in reply to Re: Re: Getopt::Std dies or returns empty var
in thread Getopt::Std dies or returns empty var
the system I need it to run on can't really be upgraded
In that case, rather than declaring the variable with our $opt_u you should (must) declare a package variable with use vars qw/$opt_u/.
Compatibility with older Perl interpreters is the main reason why I don't use our in my code.
|
|---|