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
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
"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?
>>
>>
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`;
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
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.
6 matches
Mail list logo