perl -MO=Lint,all,-undefined-subs foo.pl #### perl -MO=Lint,-all,-no-undefined-subs foo.pl