#!/usr/bin/perl use strict; use warnings; my $name; print "Hello $name\n"; my $x = "2x"; print 3+$x; print "done\n"; #### Use of uninitialized value $name in concatenation (.) or string at t/files/hello_with_warn.pl line 7 Argument "2x" isn't numeric in addition (+) at t/files/hello_with_warn.pl line 9. #### #!/usr/bin/perl use warnings; $what = 42; #### Name "main::what" used only once: possible typo at t/files/no_strict.pl line 4. #### #!/usr/bin/perl use strict; use warnings; my $x if ($x) { print "ok"; } #### Global symbol "$x" requires explicit package name at t/files/missing_semicolon.pl line 7. syntax error at t/files/missing_semicolon.pl line 7, near ") {" Execution of t/files/missing_semicolon.pl aborted due to compilation errors.