Hi,
I'd like to know why you asked that. Did you run against a problem for "too many variables"? If so it could
depends on your system imposing a limit on either the length of a line (see the update in liz answer) or some limit in the size of the parameter list for subs in the implementation of perl.
Remember that
use vars qw($foo @bar %foobar);
is (almost) equivalent to
require vars; vars->import('$foo','@bar','%foobar');
While this implies that a limit on the size of the parameter list (or the memory space occupied bu such a list) would impact on the 'number of variables that could be used in a use vars statement', this also implies that, should the problem arise, you could split your use vars like:
use vars '$foo'; use vars '@bar'; use vars '%foobar';
as require does not reload an already loaded module, but import is still called each time.
Hoping this helps.
In reply to Re: STRICT question
by TheHobbit
in thread STRICT question
by webstudioro
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |