Do you know where your variables are? | |
PerlMonks |
Re^8: Which internal DSL are there in Perl? (Domain Specific Languages - Part 1)by LanX (Saint) |
on Aug 04, 2017 at 22:24 UTC ( [id://1196779]=note: print w/replies, xml ) | Need Help?? |
You asked me how to know if a result of a code block should be cached. PadWalker can list closed over lexicals hence indicating possible side effects. Parsing for imported functions is more complicated.
Cheers Rolf
In Section
Meditations
|
|