XP is just a number | |
PerlMonks |
Re^2: Any smart Perl editors?by stevieb (Canon) |
on Jun 08, 2019 at 21:42 UTC ( [id://11101143]=note: print w/replies, xml ) | Need Help?? |
I like the idea here, check out Devel::Examine::Subs, which uses PPI to figure out where subs are. Not only that, it fetches the sub code and stuffs each sub into objects where you can spit them out individually. Works on any Perl file type. I'm currently working AFK so I can't demo anything at the moment, but I'll see if I can get a chance a little later, but here's a quick and dirty example:
Input file:
Output:
Might help facilitate the separation with a bit more reliability :)
In Section
Seekers of Perl Wisdom
|
|