Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 about the Monastery: (11)
As of 2015-07-06 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls