- or download this
my $count = ($line =~ s/[#] .*? \n//xms);
$total += $count;
- or download this
$line =~ s/["'] [^'"\n] ['"]//gxms
- or download this
$count = ($line =~ s/use [^;]+ ;//gxms);
$total += $count;
- or download this
my $count = ($all_text =~ s/<<(\w+) .*? \1//gxms);
$total += $count;
- or download this
$total++ if $all_text =~ s/(__DATA__|__END__) .*//xms;