On Wed, 05 Nov 2003 01:26:20 -0500, Jack wrote:
> In my perl CGI script, I'm trying to extract the PID
> that corresponds to it.

The '$$' variable holds the pid;

  perldoc perlvar

> How come it's not possible to do something like:
> 
> print "<HTML><BODY>";
> print `time`;
> print "</BODY></HTML>";

No need to do a system call for 'time' here, when you got all you need
built-in in Perl;

  perldoc -f localtime


-- 
Tore Aursand <[EMAIL PROTECTED]>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to