in reply to Re: Trying to be stricter...
in thread Trying to be stricter...

I'd agree with that, but add that it's generally a really good idea to declare your constants as constants, not as variables. Or, to coin a phrase, "If something isn't supposed to vary, why make it a variable?" So instead of having
$Foo = 'bar';
I'd have:
use Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw(FOO); use constant FOO => 'bar';
That way, you won't accidentally alter the value of FOO elsewhere in the program. Plus, it'll be interpolated as a literal, so you might actually gain some speed.

stephen