in reply to Program Automation

Rather than trying to combine these already disparate chunks of functionality into a single monolithic block, why not break them out into separate subroutines? Smaller, simpler pieces of code are easier to read, maintain and debug. Your main script then only has to be a few lines long, calling the subroutines in sequence, passing the output from the previous call into the next.


"The dead do not recognize context" -- Kai, Lexx

Replies are listed 'Best First'.
Re: Re: Program Automation
by Anonymous Monk on Feb 20, 2003 at 03:27 UTC
    I appreciate your response, but I'm fairly new to Perl. Perhaps if you could suggest how could I modify my code properly. I'll appreciate your help.