Welcome to the Monastery | |
PerlMonks |
Re: creating referencesby BioLion (Curate) |
on Aug 21, 2009 at 08:38 UTC ( [id://790282]=note: print w/replies, xml ) | Need Help?? |
Using diagnostics for more verbose warnings should make things more clear:
The key part explaing the difference in ouput for your two scripts is : NOTE: This warning detects symbols that have been used only once so $c, @c, %c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered the same; if a program uses $c only once but also uses any of the others it will not trigger this warning. There is also a good discussion of a similar problem in "main::Objects" used only once: possible typo. HTH.
Just a something something...
In Section
Seekers of Perl Wisdom
|
|