Help for this page

Select Code to Download


  1. or download this
    sub not_ok(&$) {
    my $coderef = shift;
    ...
    
    # call this way
    not_ok( sub { mysub('bad data') }, 'message')