Help for this page

Select Code to Download


  1. or download this
    sub foo { print "In sub foo!" };
    %bar = ( baz => \&foo );
    $foo{baz}();
    
  2. or download this
    &{$bar{baz}}();
    $bar{baz}->();