perl -Mstrict script.pl works for me.
In reply to Re: perl -mstrict foo.pl by djantzen in thread perl -mstrict foo.pl by ViceRaid