Re: catch the output of an app in a perl script

2002-12-08 Thread Michael Naumann
07.12.2002 01:18:56, Shyamal Prasad <[EMAIL PROTECTED]> wrote: >It's been some years since I've done real perl programming (thank God >for Python!), but the original poster might find it interesting that >the "pipe open" syntax allows the program to read the output when it >is ready. The backquote

Re: catch the output of an app in a perl script

2002-12-06 Thread Colin Watson
On Fri, Dec 06, 2002 at 06:18:56PM -0600, Shyamal Prasad wrote: > "Michael" == Michael Naumann <[EMAIL PROTECTED]> writes: > > Michael> On Friday 06 December 2002 12:56, Colin Watson wrote: > >> Use the "pipe open" syntax. The perlopentut man page will help. > > Michael> Or even e

Re: catch the output of an app in a perl script

2002-12-06 Thread Shyamal Prasad
"Michael" == Michael Naumann <[EMAIL PROTECTED]> writes: Michael> On Friday 06 December 2002 12:56, Colin Watson wrote: >> On Fri, Dec 06, 2002 at 12:35:08PM +0100, Raffaele Sandrini >> wrote: > How can i catch the output of a program runned in a >> perl script? >> >>

Re: catch the output of an app in a perl script

2002-12-06 Thread Michael Naumann
On Friday 06 December 2002 12:56, Colin Watson wrote: > On Fri, Dec 06, 2002 at 12:35:08PM +0100, Raffaele Sandrini wrote: > > How can i catch the output of a program runned in a perl script? > > Use the "pipe open" syntax. The perlopentut man page will help. Or even easier, use $output = `cmd`;

Re: catch the output of an app in a perl script

2002-12-06 Thread Colin Watson
On Fri, Dec 06, 2002 at 12:35:08PM +0100, Raffaele Sandrini wrote: > How can i catch the output of a program runned in a perl script? Use the "pipe open" syntax. The perlopentut man page will help. Cheers, -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIB

catch the output of an app in a perl script

2002-12-06 Thread Raffaele Sandrini
Hi How can i catch the output of a program runned in a perl script? the "system()" command returns the return value of a app, doesn't it? do i have to do something like "read()" ? cheers, Raffaele -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet.