Help for this page

Select Code to Download


  1. or download this
    #test.pl
    use warnings;
    ...
    my $test = "Test";
    print Dumper($test); #works, prints $VAR1='Test';
    test_function; #fails, "undefined subroutine &Misc::Test::Dumper....."
    
  2. or download this
    #test.pm
    use strict;
    ...
    sub test_function {
        print Dumper($test);
    }