Re: Using perl variable in command line



Perl captures the output from backticks so nothing gets printed to the screen.

__CODE__
my $x = "efg";
my $y = `echo $x`;
print $y;
__OUTPUT__
efg
__END__
.