Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: CDATA-like "literal" tags in XML-like data

by John M. Dlugosz (Monsignor)
on Nov 10, 2001 at 01:20 UTC ( #124480=note: print w/replies, xml ) Need Help??

in reply to Re: CDATA-like "literal" tags in XML-like data
in thread CDATA-like "literal" tags in XML-like data

$passage = \substr

Yes, that's exactly what I was trying for. I seem to recall trying to do this before, but it didn't work. Maybe I never got the syntax right, or it wasn't right on earlier versions.

As for exactly following expectations, that's the point: it's all literal until a very strict end condition is reached. The <<EOF ... \nEOF construct is "fragile" too, as is forgetting to escape out a slash in a RE. Either follow the rules or get an error when things don't match up.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2023-02-07 08:36 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (38 votes). Check out past polls.