1 ## name parm-based pass
3 ## parms { max_mccabe => 100 }
6 if ( $foo && $bar || $baz ) {
7 open my $fh, '<', $file or die $!;
9 elsif ( $blah >>= some_function() ) {
13 $results = $condition ? 1 : 0;
17 while( $condition ){ frobulate() }
18 until( $foo > $baz ){ blech() }
21 #-----------------------------------------------------------------------------
23 ## name parm-based failure
25 ## parms { max_mccabe => 1 }
28 if ( $foo && $bar || $baz ) {
29 open my $fh, '<', $file or die $!;
31 elsif ( $blah >>= some_function() ) {
35 $results = $condition ? 1 : 0;
40 #-----------------------------------------------------------------------------