Re: calling a program from a perl script and redirecting to output to a file

2009-03-04 Thread rajgupta85
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

Re: calling a program from a perl script and redirecting to output to a file

2009-03-02 Thread Thomas Evangelidis
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

RE: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -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, >

RE: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Wagner, David --- Senior Programmer Analyst --- CFS
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, > > > >

Re: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread James Moser
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

Re: calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Thomas Evangelidis
: 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

calling a program from a perl script and redirecting to output to a file

2009-02-19 Thread Thomas Evangelidis
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