[Chicago-talk] Subroutine sorter

me at heyjay.com me at heyjay.com
Sat Mar 27 21:32:56 CST 2004


I'd just like my subroutines in alphabetic order.

As I'm writing, I tend to create my subroutines as I need them, right by
where I call them (the first time).  But as the code gets bigger, I like to
have them in alphabetic order so I can find them easy.

I know I can just search for them (in VIM) but I just like 'em in order.
Its a pain rearranging them after the fact, and it inconvenient coding in
order before the fact

Jay
----- Original Message ----- 
From: "Andy Lester" <andy at petdance.com>
To: "Chicago.pm chatter" <chicago-talk at mail.pm.org>
Sent: Saturday, March 27, 2004 9:08 PM
Subject: Re: [Chicago-talk] Subroutine sorter


> > Anyone have a utility (script, one-liner) that I can feed in a package
(with
> > lots of subroutines) and it would spit out the same code with the subs
> > sorted in alphabetic order?
>
> Why?  What's the goal ultimately?  Would the POD get sorted with it?
>
> xoa
>
> -- 
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at mail.pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>
>




More information about the Chicago-talk mailing list