Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2024-04-26 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found