use warnings; use blah; sprintf("%d\n", 1); #this is always warned, as it is in a scope with "use warnings" declared