if ( $err ) { ok( 0, $err ); else { ok( 1, "Fancy code passed" ); } # or, for the golfers amongst you ... ok( $err ? ( 0, $err ) : ( 1, "Fancy code passed" ) );
In reply to Re: Test::More test names?
by dragonchild
in thread Test::More test names?
by zigdon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |