Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Variable Scope Issue?

by JayBonci (Curate)
on Apr 19, 2002 at 20:49 UTC ( [id://160666]=note: print w/replies, xml ) Need Help??


in reply to Variable Scope Issue?

I could be wrong, but is your myscript.sh failing, and the perl error message just bogus? Try changing the $cmd3 to be
"/bin/sh $HOME/myscript.sh"
... and then try the backtick execution of the script. Also, what does the shell script put out when you execute it by itself? If the syntax looks correct, check the dependancies. Do you get any additional info by using #!/usr/local/bin/perl -w?

    --jb

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-19 10:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found