In Pragmas§

See primary documentation in context for strict.

strict is the default behavior, and requires that you declare variables before using them. You can relax this restriction with no.

no strict; $x = 42; # OK