Help for this page

Select Code to Download


  1. or download this
    $text =~ s/<!--(.*?)}(.*?)-->/<!--$1 endbrace $2-->/gxs;
  2. or download this
    1 while s///;
  3. or download this
    foreach (@lines) {
      chomp;
      if (/^\s*\|\|/) { # is a comment
    ...
        $_ .= "-->";
      }
    }