http://www.perlmonks.org?node_id=997540


in reply to reorder subroutines in a perl file.

PPI - Parse, Analyze and Manipulate Perl (without perl)

Here is an example which can get you started: How can I write a Perl script to extract the source code of each subroutine in a Perl package?

Replies are listed 'Best First'.
Re^2: reorder subroutines in a perl file.
by polarbear (Novice) on Oct 05, 2012 at 21:39 UTC
    That did just want I wanted. Thanks!