On Sun, 12 Dec 2004 [EMAIL PROTECTED] wrote: > Lawrence Statton <[EMAIL PROTECTED]> writes: > > > Well .. perhaps this is $DEITY's way of telling that having a single > > scope block that is 433 lines long is a bad idea. > > Naa, I have longer scripts that don't have this problem. It should run > unless there is an actual syntax error. Just because a overlong scope doesn't make Perl explode doesn't mean that it is something that most people can realistically get their head around.
But don't take my word for it: "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian W. Kernighan Keep it simple. Break long blocks of code down into simpler functions whenever possible, especially when those smaller components might end up being reused. It *will* reduce errors and aid debugging. -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>