[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: catch the output of an app 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`;
@output = `cmd`;

-- Michael

Reply to: