in reply to Limiting script cpu time

If you just want to stop it from hogging the CPU, using nice(1) or renice(8) will probably do what you want. There's probably a more Perlish way that CPAN will reveal.

Replies are listed 'Best First'.
Re: Re: Limiting script cpu time
by Willard B. Trophy (Hermit) on Jun 10, 2003 at 17:59 UTC
    What's wrong with setpriority( 0, $$, 10 );? Works for me in limiting CPU hoggage.

    --
    bowling trophy thieves, die!