Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: running /bin/sh perl file.pl (not, run perl)

by Anonymous Monk
on May 14, 2013 at 04:48 UTC ( #1033403=note: print w/ replies, xml ) Need Help??


in reply to running /bin/sh perl file.pl

command="/some/path/to/perl"

This should be command="commandname" or command="command_name_var"

That way your program defines what perl program to use

Or, since its some xml file, use XML::Twig (or whatever ) to change which perl gets called

Or something else entirely , like runtherightperlforgetaboutshellcauseyouhaveperl.pl ...

But I don't understand your context


Comment on Re: running /bin/sh perl file.pl (not, run perl)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-02-06 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (222 votes), past polls