There's some perlperf documentation on that shipped with Perl, and if you search for "optimize" or "performance" here on perlmonks, you should find lots of results.
The most important bits are: 1) first make things correct, then optimize. Ensure that your code is still correct after the optimization. 2) measure before and after. 3) use profiling to find out which parts of the code to optimize. Devel::NYTProf is a great profiler.
In reply to Re: Performance improvement in perl scripts
by moritz
in thread Performance improvement in perl scripts
by balakrishnan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |