Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Not sure what Python is implementing with that pattern, but I know it doesn't have block-scope, OTOH nesting functions is easier there.
So many things which are just blocks in Perl become named functions there, even lamda is useless for that. But no need to copy their limitations. My suggestion would be to apply attributes or explicit use
This offers plenty of possibilities at compile time and is more flexible than Python's approach.
editand I'd certainly put test-subs into their own package, if they lived in the same file.
Cheers Rolf In reply to Re^8: Introspecting function signatures
by LanX
|
|