![]() |
|
P is for Practical | |
PerlMonks |
Re: Re: CDATA-like "literal" tags in XML-like databy John M. Dlugosz (Monsignor) |
on Nov 10, 2001 at 01:20 UTC ( #124480=note: print w/replies, xml ) | Need Help?? |
$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. —John
In Section
Seekers of Perl Wisdom
|
|