> It is indeed the quoting of the perl command interpreter issue.
>
> I also work often on *nix platforms, and tested with \"$^X\", which
> worked. But I can’t guarantee that too for all *nix flavors... It may
> be worth trying it (unless someone else complains). If you are unsure
> for a certain *nix flavor, please let me know. We may have that
> platform in house (currently, our product is built on Suse Linux,
> HPUX (PA-risc + Itanium), Solaris, AIX, Windows. Secondary platforms:
> Tru64. Our product also run on RedHat linux (although we built on
> Suse SLES 10)).
Well, scripts in question are not executed non-x86_64, so that OSes like
AIX, HPUX are irrelevant in the context. I was referring to x86_64 BSDs,
Solaris, MacOS X... And it's not necessarily OS, but Perl version. Even
with Perl it can get bizarre when you least expect it...
Let's put it this way. Even though non-x86_64 platforms are not relevant
in the context, if you can confirm that below script works on all of
your *nix platforms, then I'd be comfortable to propagate \"$^X\". Also
tell what Perl versions do you have.
if (@ARGV[0]) {
while(<>) { print "foo".$_; }
} else {
open STDOUT,"| \"$^X\" $0 -";
print "bar\n";
close STDOUT;
}
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]