man perlipc
line 308 "Using open() for IPC"
use
open(COMMAND, "your command | ");
now you can read from
besure to
close COMMAND;
-Original Message-
From: Wert, Nathaniel [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 3:11 PM
To: [EMAIL PROTECTED]
Subj
Maybe system() isn't really what you want then. Try using backticks:
$scalar = `some cmd`;
print OUTFILE $scalar;
-Original Message-
From: Wert, Nathaniel [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 12:11 PM
To: [EMAIL PROTECTED]
Subject: system() output question
I would like to be able to take the output of system(some cmd) and send it to a
filehandle. How is this possilbe?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]