there is a var with it already set: perldoc perlvar
see $PID or $$ On Tue, Sep 09, 2003 at 10:07:43PM +1000, Vema Venkata wrote: > How do i get the process id into a variable ? > can any one help > > > $pid = qx(ps -f|grep srvtst26); > print "Server Started : $pid \n -- Mat Harrison Technical Developer 3d Computer Systems Ltd. [EMAIL PROTECTED]
pgp00000.pgp
Description: PGP signature