in reply to Re: Scope and Context
in thread Scope and Context
Nah, never taken the wrong way ... *memo to self - add perrin to the list* ... :)
I understand your point with regard to readability ... I have been guilty of writing some horrendously difficult code to decipher before, purely without intent - The reason for the embedding of the subroutine within the code at this point is so that the regular expressions in the file are loaded entirely within the BEGIN {} block. Yes I can still call the subroutine from this point, but for my own mindset, I like keeping such initialisation code in the one place. Nevertheless, your point is well noted ...
The hard-coding of the constant 8 is more of an oversight, but one which I should most definitely correct - Guess that's what happens when you get too pensive regarding programming methodology and ignore the practicalities *grin*
Ooohhh, Rob no beer function well without!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Scope and Context
by perrin (Chancellor) on Nov 14, 2001 at 07:13 UTC | |
by pdcawley (Hermit) on Nov 14, 2001 at 20:02 UTC |