Why do Perl 5 backtick (` `) calls fail on Linux only?
Posted on 2005-04-25
Well, I don't really know what to make of this. I have run this script on 3 different RedHat boxes, all with the same result. The same script obviously runs fine on any other Unixy type interp(AIX, HP, Solaris, Windows BASH), but SHOULD run on Linux bash or any other shell for that matter...even if you get a failure.
$binpath = `type perl`; #don't really care if we get the parsed path here...just want SOMETHING
print "binpath = $binpath\n";
I just don't get it. This SHOULD work and is very simple. It works from the CLI, and I am using ActiveState 5.8.6. It does the same thing on 5.6. Please don't spend any unnecessary time on this, but if you have any ideas off the top of your head...
I am using RedHat 3.0 AS.