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
      }