good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Logic problem on loopsby gav^ (Curate) |
on Apr 21, 2002 at 21:41 UTC ( [id://160935]=note: print w/replies, xml ) | Need Help?? |
Some pointers:
with calls that use selectall_arrayref. Use bind so you can write: Use placeholders to save issues with quoting: You've also got quite a bit of code that looks repeated. Maybe you can refactor it out into some loops or subroutine calls. You should try to make functions shorter in length so that it's easier to comprehend and you don't have to keep scrolling up and down so much. That's all for now... gav^
In Section
Seekers of Perl Wisdom
|
|