That's only "dangerous" in a place were someone else controls your environment. But if someone else controls your
environment, even a use strict is "dangerous",
as that will allow the attacker to execute arbitrary code on
your behalf. (Because the attacker can then set PERL5LIB, PERL5OPT, PERLIO, PERL5SHELL, and some other variables to make life annoying).