SPUG: ulimit

Andrew Sweger andrew at sweger.net
Wed Apr 7 19:20:21 CDT 2004

On Wed, 7 Apr 2004, Brian Hatch wrote:

> How can you set a process limit (unix) inside perl? IE what's the perl
> analogy to 'ulimit -c 0' in *sh? I could have the perl script have a
> shell wrapper to set it first, but that's just messy.

Found in /usr/share/perl/5.8/pod/perlfaq8.pod
       How do I set CPU limits?

       Use the BSD::Resource module from CPAN.

> --

Pedant Service Alert!

The double-hyphen typically found in plain text emails immediately
preceding the signature block should be followed by a space character so
that MUA's that recognize this can chop off the signature block in

Andrew B. Sweger -- The great thing about multitasking is that several
                                things can go wrong at once.

More information about the spug-list mailing list