Works for me, as I would expect it to.
my $html = do { local $/ = undef; <DATA> }; $html =~ s/<!-- rem_me --><\/li>/<ul>/sig; print($html); __DATA__ </a> <!-- rem_me --></li> <li>
</a> <ul> <li>
What's rem_me in reality?
In reply to Re^2: Weird situation...
by ikegami
in thread Weird situation...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |