XP is just a number | |
PerlMonks |
Re: Is this bad coding style?by bobf (Monsignor) |
on Jan 08, 2009 at 04:16 UTC ( [id://734796]=note: print w/replies, xml ) | Need Help?? |
I know this is just an example, but strict and warnings can help nonetheless. In this case you define @arrray and loop over @array. OK, that's out of my system. :-) A dispatch table might help, especially if you've got a lot of special cases. For example:
In Section
Seekers of Perl Wisdom
|
|