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

Re: Is Devel::Declare really so much less evil than source filters?

by Corion (Patriarch)
on Apr 05, 2010 at 14:19 UTC ( [id://832813]=note: print w/replies, xml ) Need Help??


in reply to Is Devel::Declare really so much less evil than source filters?

From my reading of Devel::Declare, it uses (and exposes) the same parsing routines that Perl uses, so for subexpressions, it doesn't have to reimplement that. In that way it sure is better than Filter::Util, which has to reimplemented Perl string parsing and POD parsing.

As the code generation is (conveniently) still string-based, I imagine fun things could happen if you inject string snippets that need parsing by another Devel::Declare-based filter, as you're then dependent on these filters having been loaded in the right order. But maybe Devel::Declare invokes the filter chain in a loop so you can send of Perl into an infinite loop by having mutually recursive filters instead.

  • Comment on Re: Is Devel::Declare really so much less evil than source filters?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-20 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found