Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: regexp for scalar containing a mixture of LF & CRLF

by diotalevi (Canon)
on Dec 09, 2004 at 23:12 UTC ( #413714=note: print w/ replies, xml ) Need Help??


in reply to regexp for scalar containing a mixture of LF & CRLF

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.


Comment on Re: regexp for scalar containing a mixture of LF & CRLF
Download Code
Re^2: regexp for scalar containing a mixture of LF & CRLF
by NateTut (Deacon) on Dec 10, 2004 at 00:41 UTC
    You hit the nail right on the head. Once I made a copy of the object the regexp started working.

    Thanks!

    Doug
      I goofed by calling it a Notes::OLE object. You'd have a Win32::OLE object. I wrote Notes::OLE and the names just transposed themselves in my fingers while I typed to you.
        The important thing though is that you pointed out where the problem was.

        Doug

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://413714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (18)
As of 2014-08-22 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (161 votes), past polls