On Mar 2, 2:49 pm, teva...@gmail.com (Thomas Evangelidis) wrote:
> Hi again,
>
> I'm digging out this thread cause it seems that my problem has been only
> partially solved. Indeed "my @myout = `program file`;" can save the output
> of my program to an array for parsing but this doesn't happen when
Hi again,
I'm digging out this thread cause it seems that my problem has been only
partially solved. Indeed "my @myout = `program file`;" can save the output
of my program to an array for parsing but this doesn't happen when I use
programs with output that cannot be redirected to a file (i.e. erro
> -Original Message-
> From: Thomas Evangelidis [mailto:teva...@gmail.com]
> Sent: Thursday, February 19, 2009 08:27
> To: beginners@perl.org
> Subject: calling a program from a perl script and redirecting
> to output to a file
>
> Dear Perl programmers,
>
ilto:teva...@gmail.com]
> > > Sent: Thursday, February 19, 2009 08:27
> > > To: beginners@perl.org
> > > Subject: calling a program from a perl script and redirecting
> > > to output to a file
> > >
> > > Dear Perl programmers,
> > >
>
mas
2009/2/19 Wagner, David --- Senior Programmer Analyst --- CFS <
david.wag...@fedex.com>
-Original Message-
From: Thomas Evangelidis [mailto:teva...@gmail.com]
Sent: Thursday, February 19, 2009 08:27
To: beginners@perl.org
Subject: calling a program from a perl script and redirect
: Thursday, February 19, 2009 08:27
> > To: beginners@perl.org
> > Subject: calling a program from a perl script and redirecting
> > to output to a file
> >
> > Dear Perl programmers,
> >
> > I want to run a program from a perl script and redirect th
Dear Perl programmers,
I want to run a program from a perl script and redirect the its output to a
file. The programs is called apbs and takes 1 argument, so in unix shell I
'm simply typing the following:
$apbs input.in >$ output.txt # '>' doesn't work here
When using the system function I ge