On Thursday 21 November 2002 03:21 am, cedric gross wrote: > Hello every body, > > How to know what task have run a perl script ? > I mean is possible to get within the code which process Id have start the > script.
If you're running Linux or Unix, perl holds your environment variables in a hash; %ENV. Your process id number is $ENV{PID}. HTH, Chris Browning [EMAIL PROTECTED] "Hah!!" -- James Brown -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]