Help for this page

Select Code to Download


  1. or download this
    $opt->{'encoding'} ? $opt->{'encoding'} : 'utf-8'
    
  2. or download this
    $opt->{encoding} || 'utf-8'
    
  3. or download this
    if ( length($line) > 0 || $opt->{'empty'} && $opt->{'empty'} eq 'fill'
    + ) {
      $final_line = $prefix . $line . $suffix;
    ...
    else {
      next;
    }
    
  4. or download this
    my $empty = $opt->{empty} || '';
    ...
    ...
    else {
      next;
    }
    
  5. or download this
    my $empty = $opt->{empty} || '';
    my $trim_empty = !$empty;
    ...
    elsif ( !$trim_empty ) {
      push @array, $empty_replacement;
    }