in reply to Just how efficent is using system() ?

You can make your Perl script use less resources (CPU) by calling it with nice:

nice -n 19 perl myscript.pl args...

Replies are listed 'Best First'.
Re: Re: Just how efficent is using system() ?
by TomDLux (Vicar) on Jul 03, 2003 at 17:20 UTC

    How does running something more slowly make it run faster?

    nice gives your procecss a low priority, so that it obtains CPU time at a slower rate, so long as higher priority tasks are available to run.

    --
    TTTATCGGTCGTTATATAGATGTTTGCA

      That's right. I didn't mean it would run faster. I said it would use less resources.