note
Ovid
<p>++</p>
<P>I just removed some dead code earlier today that the code coverage spotted. It was along the lines of the following:</p>
<code>sub foo {
# bunch of code
if ( $some_condition ) {
# do a bunch of stuff
return $something;
}
else {
# do some other stuff
croak($error);
}
# do some more stuff
}</code>
<p>That can be easy to miss in refactoring.</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-17000">
<p>Cheers,<br />
<a href="/index.pl?node=Ovid&lastnode_id=1072">Ovid</a></p>
<p><small>New address of <a href="http://users.easystreet.com/ovid/cgi_course/">my CGI Course</a>.</small></p>
</div></div>
606564
606585