|Don't ask to ask, just ask|
running /bin/sh perl file.plby aknipp (Initiate)
|on May 13, 2013 at 23:59 UTC||Need Help??|
aknipp has asked for the
wisdom of the Perl Monks concerning the following question:
Long store short, that is what I am trying to do
Background, I use an app that includes perl, as I go to many places I see it installed all over the place. For my shebang line I can use something like this:
(iw-perl is the app's bundled perl)
The issue I have is that there are some embedded XML files with entries like
and I am trying to put something on a single commandline which could replicate it. Eval is a SH/BASH function and is not picked up.
I thought something like bash `/usr/bin/iwgethome`/iw-perl/bin/iwperl perlfile - which looks promising, but I get an error like this:iwperl: cannot execute binary file
Which tells me it is picking up the 1st parameter as the script name, but in this case the 1st parameter is perl not the script.
Figure this is a longshot, but hope for some words of wisdom.