http://www.perlmonks.org?node_id=405590


in reply to Stray Variables

There is a "used once" warning which does what you want. Just make sure you have warnings enabled and run. They will be logged if STDERR is, for instance in CGI.

After Compline,
Zaxo