Help for this page

Select Code to Download


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