Help for this page

Select Code to Download


  1. or download this
    undef $/;
    $current = <DATA>;
    ...
    stuff i do want
    <!---END CURCON-->
    more stuff i don't want
    
  2. or download this
    my ($match) = $current =~ m/$start(.*)$end/s; # note the parens around
    + $match
    
  3. or download this
    $match =~ tr/\n//d;
    # or
    $match =~ s/\n//g;