On Thu, Dec 20, 2001 at 04:38:27AM +1300, Chris Zampese wrote:
> Global symbol "$whatever" requires explicit package name
Error messages are documented in perldoc perldiag. You can also pipe your
error to the splain program (provided you have it) so that you don't have to
search through perldoc perldoc. For example:
> echo 'Global symbol "$whatever" requires explicit package name' | splain
Global symbol "$whatever" requires explicit package name (#1)
(F) You've said "use strict vars", which indicates that all
variables must either be lexically scoped (using "my"), declared
beforehand using "our", or explicitly qualified to say which package
the global variable is in (using "::").
Now you need to read perldoc strict to understand what 'use strict "vars"'
does.
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]