perl -w dings me if I use a variable just once:

Name "main::foo" used only once: possible typo...

even if I'm magically defining/using $foo somewhere else.

Is there any way to tag a variable to tell the -w option that I'm
intentionally using that variable just once, and not to warn me about it?

I realize I could do something like: "$foo = $foo" to force the issue,
but that seems kludgy.

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to