in reply to Re: Output of a command
in thread Output of a command
I have changed the $command to `$command`. Do you mean the below one??
$command = ls;
my $test = "/usr/anil/scripts/anil1.txt";
open (STDOUT, "> $test");
$t = `$command`
If YES, then it didn't work!!!