perl inside a shell script

Posted by benjamin button on Stack Overflow See other posts from Stack Overflow or by benjamin button
Published on 2010-05-10T13:35:03Z Indexed on 2010/05/10 13:44 UTC
Read the original article Hit count: 515

Filed under:
|
|
|

I want to do this in a shell script:

#!/bin/ksh


#i am setting a variable "var" inside perl script
perl test.pl
#Now i want to use that value in the shell script

echo $var

How do i do it?

© Stack Overflow or respective owner

Related posts about perl

Related posts about unix