Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: running /bin/sh perl

by kcott (Chancellor)
on May 14, 2013 at 05:05 UTC ( #1033410=note: print w/replies, xml ) Need Help??

in reply to running /bin/sh perl

G'day aknipp,

"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."

Actually, that tells me that perlfile is a binary file which iwperl cannot execute. (What happened to

I don't have any problem doing (similar to) what you have there if I specify a script:

$ cat print "Hello, world!\n"; $ which perl /Users/ken/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/bin/perl $ `echo $HOME`/perl5/perlbrew/perls/perl-5.14.2_WITH_THREADS/bin/perl Hello, world!

-- Ken

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033410]
[haukex]: What Every Computer Scientist Should Know About Floating-Point Arithmetic?
[Discipulus]: the winner is..
[Discipulus]: Mr haukex from Germany! thanks a lot to the other parteciapant our dear Mr afoken.. ;=)
[Discipulus]: no, seriously thanks both, i missed 'scientist' and 'floating point' and the resarche was imposible..
Discipulus go to his cell to bookmark this
[haukex]: Well to be honest I just did a super search for "every should know floating" ;-)
[Discipulus]: floating was the keyword and.. to use supersearch is plus sign not a (plus) sin

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2017-06-26 20:54 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (594 votes). Check out past polls.