in reply to Re: Good programming practice
in thread Good programming practice

In recent version of perl (5.6.0 and above) you can suppress this warning using the lexically scoped:
no warnings "once";
The following script will complain about tigers, but not lions...
#!/usr/bin/perl -wT { no warnings "once"; $lions = 123; } $tigers = 456; print "Hello world\n";
The full list of default categories can be found at perllexwarn.

-Blake