Perl Monk, Perl Meditation | |
PerlMonks |
Re: Avoiding "only one reference" warningsby pzbagel (Chaplain) |
on Oct 15, 2003 at 00:28 UTC ( [id://299297]=note: print w/replies, xml ) | Need Help?? |
What you want is to disable the offending warning message. This can be accomplished like so:
Notice that you can't use -w because it is all or nothing, you must use the "use warnings" syntax if you want to be able to disable individual warning messages. Check out perllexwarn. HTH
In Section
Seekers of Perl Wisdom
|
|