Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Knowing when a code string contains code that will be executed at compile-time/end?by haukex (Archbishop) |
on Aug 15, 2020 at 16:27 UTC ( [id://11120784]=note: print w/replies, xml ) | Need Help?? |
Although PPR can be used to match Perl code or parts of Perl code (like say if you're trying to implement your own keyword and need a way to express the grammar for it), it is not a real parser, that is, it doesn't really build a syntax tree that can then be inspected. In that respect, PPI is better.
In Section
Seekers of Perl Wisdom
|
|