On Thursday, May 16, 2002, at 08:41 , Alan Drew wrote:
> You could try using shell - the module tha allows you to use shell
> commands as subroutines. e.g:
>
> use shell;
> $uptime = uptime();
> print $uptime;
>
just had time to peek at this - and use shell is
essentially a wrapper around
open(CMD, "yourCmd @args |" )
the function you are all trying to find is
setrlimit()
and yes, it would have been nice to call
getrlimit()
and no these are not in the publically listed POSIX::*
this idea of perldoc -f syscall seems interesting...
and syscall.h we find:
#define SYS_setrlimit 128
#define SYS_getrlimit 129
ciao
drieux
---
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]