stick __END__ at the top of your file, then use
perl -MAutoSplit -e " autosplit( $ARGV[0], $ARGV[1], 0, 0 ) " lib/Some/File.pm out/dir/like/a/lib
This will generates one file for each function, then you can glob/sort/cat and reconstitute Some::File with subs in sorted order
In reply to Re^3: Meta-perl - sorting my perl subs with perl?
by Anonymous Monk
in thread Meta-perl - sorting my perl subs with perl?
by Syndaryl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |