in reply to Redirecting OUTPUT of system($command) to an array
my $command="/usr/local/coms/command "; my @array = `$command`;
Backticks are what you're looking for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Redirecting OUTPUT of system($command) to an array
by Limbic~Region (Chancellor) on May 13, 2004 at 18:30 UTC | |
by japhy (Canon) on May 13, 2004 at 18:38 UTC | |
by Nkuvu (Priest) on May 13, 2004 at 19:23 UTC |