This one particular piece of advice is very good. A peave of mine is when I see people who write Perl scripts and all the work in them is done by using system() calls. What is the point in writing a Perl script if you're not going to use the Perl functions? You might as well write the thing in shell.
Spawning system calls does take more resources and thus it behooves the Perl programmer to try and code the functionality they want using Perl built-ins and modules.
gj! ++ on this one.
_
_
_
_
_
_
_
_
_
_
- Jim
Insert clever comment here...
In reply to Re: Re: Optimizing existing Perl code (in practise)
by snafu
in thread Optimizing existing Perl code (in practise)
by JaWi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |