good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Output of a commandby Niel (Initiate) |
on Jul 30, 2008 at 04:48 UTC ( [id://701019]=note: print w/replies, xml ) | Need Help?? |
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!!!
In Section
Seekers of Perl Wisdom
|
|