RE: system() output question.

2002-02-22 Thread Nikola Janceski
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

RE: system() output question.

2002-02-22 Thread Timothy Johnson
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

system() output question.

2002-02-22 Thread Wert, Nathaniel
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]