(update: deleted some phrases about random coding)
To answer your question, your substitutes only operate on $_ not $doc.
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re: perl substitute
by LanX
in thread perl substitute
by ambrill
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |