Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: running sh script from perl script

by robobunny (Friar)
on Jul 17, 2002 at 20:23 UTC ( #182570=note: print w/replies, xml ) Need Help??


in reply to running sh script from perl script

it is only modifying the environment of the subshell that is running your shell script. the syntax ". shellscript.sh" only works in sh/bash/etc. all it is doing is saying "run these commands as if i typed them at the command prompt". if you want to modify environment variables inside your perl script, you will need to modify $ENV yourself.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2023-12-04 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?