# Pastebin I812DMgn ❯ perl -v This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-thread-multi Copyright 1987-2022, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at https://www.perl.org/, the Perl Home Page. ❯ cat t.pl #!/usr/bin/perl $var = "foobar"; print "$var\n"; ❯ perl t.pl foobar ❯ cat t.pl #!/usr/bin/perl use v5.12; $var = "foobar"; print "$var\n"; ❯ perl t.pl Global symbol "$var" requires explicit package name (did you forget to declare "my $var"?) at t.pl line 5. Global symbol "$var" requires explicit package name (did you forget to declare "my $var"?) at t.pl line 6. Execution of t.pl aborted due to compilation errors. ❯ cat t.pl #!/usr/bin/perl use v5.30; $var = "foobar"; print "$var\n"; ❯ perl t.pl Global symbol "$var" requires explicit package name (did you forget to declare "my $var"?) at t.pl line 5. Global symbol "$var" requires explicit package name (did you forget to declare "my $var"?) at t.pl line 6. Execution of t.pl aborted due to compilation errors.