in reply to Re: Coding for maintainability
in thread Coding for maintainability

PerlMonks has an excellent Tutorials page. :-) I recommend the OP check out this post re: Dispatch Tables:


Implementing Dispatch Tables

HTH,

planetscape

Replies are listed 'Best First'.
Re^3: Coding for maintainability
by monsterzero (Monk) on Feb 17, 2006 at 16:29 UTC
    Hello, Currently I have used the code provided by jdporter instead of my switch statement. However, I will now look at the dispatch table option that you have recommended and see if that will make this script easier to maintain. Thanks for your reply