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

Re: Re: Re: UNIX environment setup via perl

by haoess (Curate)
on May 07, 2004 at 15:05 UTC ( #351476=note: print w/replies, xml ) Need Help??

in reply to Re: Re: UNIX environment setup via perl
in thread UNIX environment setup via perl

You can't manipulate environment variables for your parent processes. Why? It's a security concern.

But: Your shell can use the output of your perl programm to set it's own environment:

# perl -lw print "export FOO=bar"; # assuming bourne-compatible shell

Later in your (parent) shell:

$ eval `` $ echo $FOO bar $

-- Frank

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://351476]
Discipulus ignores..
Discipulus IE just maps to id est in my mind .. ;=)
[Corion]: marto: I believe nowadays, at least window.opener should not be set anymore (except maybe within the same domain)
[Corion]: But I wouldn't really know as I don't use iexplore much (except at $work) and mostly surf with JS disabled (except at $work :) )
[marto]: yeah, this is at work, where some intranet app launches links via When users close the intranet page so that only the new JS opened windows exist, clicking URLs in an email (or whatever) don't open

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-03-21 11:45 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (267 votes). Check out past polls.