On Fri, Jul 09, 2004 at 05:06:09PM -0500, Andy Lester wrote:
> > There's a whole set of these sort of problems.  

Looking through a coverage analysis I just ran, here's some more idioms 
that trip up 100% coverage.

        my $foo = $bar || '';

        my $foo = $bar || 1;

        $this || return;

Basically anything of the "$foo || constant" variety.  Devel::Cover could
probably be smartened up to handle these cases better.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
Fuck with me and I will saw off your legs.
        http://www.unamerican.com/

Reply via email to