Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Readmore in source

by theorbtwo (Prior)
on Jan 22, 2003 at 05:02 UTC ( [id://228942]=note: print w/replies, xml ) Need Help??

in reply to Readmore in source
in thread XML-style readmore not being parsed

I belive the reason is efficency. If you're looking at the node directly, the entire pass devoted to processing <readmore>s is skipped. It seems silly to run the pass just so we can change it into a comment, when it already isn't doing any harm. Yeah, it makes it a little harder to validate, but that's a rather minor concern. (It isn't actualy that much of an efficency issue, either, but I don't see the benifit in writing the code to do it.)

Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-22 09:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found