Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^6: RFC : Abstraction Markup

by Anonymous Monk
on Jul 13, 2011 at 19:25 UTC ( [id://914204]=note: print w/replies, xml ) Need Help??


in reply to Re^5: RFC : Abstraction Markup
in thread RFC : Abstraction Markup

I think you misunderstood my question

I don't think I did :) I explained how the given template example unravels in both perl and tt2 terms

does that mean the contents of a () tag aren't subject to any handlers?

I don't understand what you're asking :)

Based on his actual proof of concept (both old, new) "(DB)" "DB" is the name of plugin, its perl code, either ...DB.aXMLpl or ...DB.pm

Since (DB) has no () children, it is processed first, as a complete unit

Its responsible for processing all tags contained within as a template

Or that upon return of the () tag handler, any tags in the return are handled? Other?

Lets try another , shorter example

(Foo) <Fruit>Apples</Fruit> (Bar) <pants>red</pants><d>varyable</d> (/Bar) (/Foo)
That would be functionally equivalent to this perl code
return $Foo->( '<Fruit>Apples</Fruit>' .$Bar->('<pants>red</pants><d>varyable</d>') );

Like chromatic said, its basically scheme

Am I closer now?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found