Perl-Sensitive Sunglasses | |
PerlMonks |
Re: 'extract' subs from source codeby NetWallah (Canon) |
on Oct 24, 2012 at 15:41 UTC ( [id://1000660]=note: print w/replies, xml ) | Need Help?? |
This is just an idea - not a real solution - but hopefully, more knowledgeable monks can either comment on it's viability, or explain it's unsuitability: Since sub names are in the "main" namespace, how about using the perl debugger to load and print the sub info, without actually executing the program ? "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest." -Confucius
In Section
Seekers of Perl Wisdom
|
|