Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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?
[LanX]: (big bang literature theory for grown ups

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-01-20 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.