subroutine placement (Layout conventions)
From: B McKee (binlinux_at_hotmail.com)
Date: 02/26/04
- Next message: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Previous message: Wolf Blaum: "Re: Pattern matching problem"
- Next in thread: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Reply: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Maybe reply: Wiggins D Anconia: "Re: subroutine placement (Layout conventions)"
- Reply: Rob Dixon: "Re: subroutine placement (Layout conventions)"
- Maybe reply: Wiggins D Anconia: "Re: subroutine placement (Layout conventions)"
- Reply: R. Joseph Newton: "Re: subroutine placement (Layout conventions)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 26 Feb 2004 12:47:28 -0500 To: beginners@perl.org
Hi All,
I'm slowly creating my Perl Masterpiece (tm)
I'll let ya all giggle over it when I'm done :-)
At any rate - It's done what I believe you call "top-down".
I declare the subs, then have the code for the main program,
then the subroutine code blocks.
My question is what order should the subroutines appear in?
Alphabetical? Order of appearance? Rough grouping by function?
The fact that some subroutines may or may not call other subroutines
and some of the subs are called by pretty much all the other subs
makes it hard for me to decide what order would make it easiest to read.
What's the 'standard'?
Brian
- Next message: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Previous message: Wolf Blaum: "Re: Pattern matching problem"
- Next in thread: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Reply: James Edward Gray II: "Re: subroutine placement (Layout conventions)"
- Maybe reply: Wiggins D Anconia: "Re: subroutine placement (Layout conventions)"
- Reply: Rob Dixon: "Re: subroutine placement (Layout conventions)"
- Maybe reply: Wiggins D Anconia: "Re: subroutine placement (Layout conventions)"
- Reply: R. Joseph Newton: "Re: subroutine placement (Layout conventions)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|