hi,
I would like to capture all the output in my perl program during execution. I
have code that basically opens and closes an output file multiple times just to
write the output. Because I have system calls between lines of code, I have to
close the file in order to capture the output from the
Hi,
Is there a way to store the output of a system call on unix?
eg. system("date");
I like to store the date output to a variable. The only way I know of is to
open and write the output to a file and then read in to a variable. Is there a
simpler way?
Thanks in advance.
Geraldine
--
To un
Thanks everyone for the input.
Getting the date output is much easier in perl than I originally thought.
thanks!
Geraldine
> On Tue, 8 Mar 2005, Ankur Gupta wrote:
>
> > [EMAIL PROTECTED] wrote:
> >
> > > Hi,
> > > Is there a way to store the output of a system call on unix?
> > >
> > > e