Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    print Dumper $sub_ref; # prints $VAR1 = sub { "DUMMY" };
    
  2. or download this
    $ perl
    use strict;
    ...
    print Dumper($coderef);
    __END__
    $VAR1 = sub { "DUMMY" };
    
  3. or download this
    $ perl
    use strict;
    ...
                use strict 'refs';
                print "hello world\n";
            };