Re: Using perl variable in command line
- From: yitzle@xxxxxxxxxxxxxxxxxxxxx (Yitzle)
- Date: Thu, 21 Feb 2008 10:32:09 -0500
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__
.
- Follow-Ups:
- Re: Using perl variable in command line
- From: Yoyoyo Yoyoyoyo
- Re: Using perl variable in command line
- References:
- Using perl variable in command line
- From: Yoyoyo Yoyoyoyo
- Using perl variable in command line
- Prev by Date: Using perl variable in command line
- Next by Date: Re: Using perl variable in command line
- Previous by thread: Using perl variable in command line
- Next by thread: Re: Using perl variable in command line
- Index(es):