Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

When 100% Code Coverage Backfires

by Ovid (Cardinal)
on Mar 26, 2007 at 12:06 UTC ( [id://606564]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( @chunks > 1 && $chunks[-2] =~ s/$comment$// ) { 
        ...
    }
    
  2. or download this
      if ( @chunks > 1 && $chunks[-2] =~ s/$comment$// ) {
          pop @chunks;
      }
    
  3. or download this
      if ( @chunks > 1 ) {
          $chunks[-2] =~ s/$comment$//;   # XXX remove comment indicator
          pop @chunks;                    # XXX remove the comment
      }
    
  4. or download this
            my $split = Data::Record->new(
                {
                    split  => $comment,
    ...
                }
            );
            my @chunks = $split->records($line_of_sql);
    
  5. or download this
      if ( @chunks > 1 && $chunks[-2] =~ s/$comment$// ) {
          pop @chunks;
      }
    
  6. or download this
      if ( @chunks > 1 ) {
          $chunks[-2] =~ s/$comment$//;   # XXX remove comment indicator
          pop @chunks;                    # XXX remove the comment
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://606564]
Approved by xdg
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-03-28 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found