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 get an error. Does anyone know how to
achieve that in perl.

thanks in advance,
Thomas

Reply via email to