----- Original Message ----- From: [EMAIL PROTECTED] Date: Tuesday, March 8, 2005 11:29 am Subject: output from system call
> Hi, Hello, > Is there a way to store the output of a system call on unix? > sure > eg. system("date"); my $Date = 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 unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>