Help for this page

Select Code to Download


  1. or download this
    package Filt;
    use Filter::Simple;
    ...
    };
    
    1 ;
    
  2. or download this
    use strict;
    use Benchmark::Timer;
    use Filt;
    ...
    $tmp =~ s/((?:<line>\s*(?:.{1,$short_line_threshold})<\/line>\s*){$sho
    +rt_line_counter,})(<line>\s*(?:.{$long_line_threshold,}?)<\/line>)/$1
    +<\/para><para>$2/gs;
    
    print $t->report();