Perl syntax

Andrew Hammond ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Mon May 30 16:02:56 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I think I know the scoping issue. What confused me was the wording of the 
> error message:
>  Global symbol "%count" requires explicit package name.
> It would have been more meaningful if the error message would have said 
> something to the effect that the variables were not declared before they were 
> used.

For friendlier messages, you might try

use diagnostics;

But that'll get verbose in a hurry.

- --
Andrew Hammond    416-673-4138    ahammond-swQf4SbcV9C7WVzo/KQ3Mw at public.gmane.org
Database Administrator, Afilias Canada Corp.
CB83 2838 4B67 D40F D086 3568 81FC E7E5 27AF 4A9A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCmzkvgfzn5SevSpoRAoo9AKCueDv5ROF/1dWX/PQ1AECGDuxdPACeMCub
K8dNKUnMQBZOml+CH4GJpqc=
=5U85
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list