in reply to Program to split a Perl program into subs

If it doesn't do exactly what you want already perhaps you could tweak AutoSplit? That does have certain formatting expectations about the source though (I believe; been a while since I've mucked with it). There's also PPI if you have fancier needs.

  • Comment on Re: Program to split a Perl program into subs

Replies are listed 'Best First'.
Re^2: Program to split a Perl program into subs
by swampyankee (Parson) on Sep 07, 2006 at 16:47 UTC

    Thanks. I didnt' think of AutoSplit and had barely heard of PPI.

    emc

    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Albert Einstein