Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Simplifying the syntax further

by TimToady (Parson)
on Nov 22, 2005 at 16:52 UTC ( [id://510852]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Simplifying the syntax further
in thread Embedding a mini-language for XML construction into Perl

Well, there's always:
doc { br { ++$breaks; () } }
which pretty much says "empty" to me. But maybe it's better to document it out front. I wonder if something resembling:
doc { br {} (++$breaks) }
could be made to work with an additional parameter that is ignored.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-18 03:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found