in reply to Test::More test names?
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" ) ); [download]