I can't think of how much of my life I've wasted because I didn't know about
"splain".

Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com



----- Original Message -----
From: "Michael Fowler" <[EMAIL PROTECTED]>
To: "Chris Zampese" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 10:49 AM
Subject: Re: Global Symbols


> 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]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to