I have a perl script which requires a value from a shell script.
Following is the shell script (a.sh):
#!/bin/bash
return_value(){
$value =$(///some unix command)
return $value
}
Following is the perl script: ///
my $answer= `sh a.sh`;
print("the answer is $answer");
But its not working. please help me out