Help for this page

Select Code to Download


  1. or download this
    for (qw( foo bar )) {
       no strict 'refs';
       $_->() || die "Command $_ did not return true!\n";
    }
    
  2. or download this
    for (
       [ foo => \&foo             ],
    ...
       my ($name, $sub) = @_;
       $sub->() || die "Command $name did not return true!\n";
    }