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