% perldoc varsuse vars qw($scalar @array %hash);
NOTE: For variables in the current package, the functionality provided by this pragma has been superseded by "our" declarations, available in Perl v5.6.0 or later. See "our" in perlfunc.It's only a few more words to make a proper MyVars module out of it.
package MyVars; our @ISA = qw(Exporter); our @EXPORT = qw($scalar @array %hash); [...]
In reply to Re^2: Trying to create a common "variable library"
by fullermd
in thread Trying to create a common "variable library"
by tbblake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |