Is that $doc variable a Notes::OLE object? In addition to the advice at Re: regexp for scalar containing a mixture of LF & CRLF, you might need to make a copy of the value out of $doc->{Body} prior to editing it.
In reply to Re: regexp for scalar containing a mixture of LF & CRLF
by diotalevi
in thread regexp for scalar containing a mixture of LF & CRLF
by NateTut
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |