Help for this page

Select Code to Download


  1. or download this
    sub test($) { print("Boo!\n"); }
    
    my $f = \&test;
    $f->();         # No error. Prints "Boo!".
    $f->(1, 2, 3);  # No error. Prints "Boo!".