Don't ask to ask, just ask | |
PerlMonks |
Re: Meta-perl - sorting my perl subs with perl?by Perlbotics (Archbishop) |
on Jan 20, 2012 at 19:58 UTC ( [id://949034]=note: print w/replies, xml ) | Need Help?? |
Maybe you can start with B::Xref and render the output as a report?
Update: Perhaps, I misunderstood... you seem to want to sort the source code, such that e.g. sub a_func comes before/above sub b_func? Personally, I would rather group the subs by functionality and let the editor do the work localising the subs (e.g. Emacs Imenu, other editors have similar functionality). But with an amount of 150 subs, there is a good chance they can be grouped in specialised (sub-)modules, reducing the set of subs to an amount that can be managed (read: edit, document, test) with less effort.
In Section
Seekers of Perl Wisdom
|
|