Re: system command to perl variable

2002-08-13 Thread Sudarshan Raghavan
On Wed, 14 Aug 2002, Jose Malacara wrote: > Hello. I was wondering if there is a way to capture a system command into a > perl variable. I know this is incorrect, but I basically want to do something > like this: > > $date = system("date"); > print "Today is $date."; You can use backticks ins

system command to perl variable

2002-08-13 Thread Jose Malacara
Hello. I was wondering if there is a way to capture a system command into a perl variable. I know this is incorrect, but I basically want to do something like this: $date = system("date"); print "Today is $date."; Thanks, Jose -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman