April 20, 2013 | Coverage Analysis in Perl: The Basics | Back Next |
'if' block without explicit 'else'
if ( $something_true ) { # do X }
Must write tests for both 'if' and implicit 'else'
if ( $something_true ) { # do X } else { # do nothing }
Home Last TOC | Copyright © 2013 James E Keenan | Back Next |