Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    substr($s, $first, $last-$first+length $end) = '<h1>'.substr($s,$first
    ++length $start,$last-$first-length $start).'</h1>';
    
    print $s;
    
  2. or download this
    while(1)
    {
    ...
            last; # $end_pos is good
        }
    }