Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Re: perl global vars in subroutines

by coreolyn (Parson)
on Feb 16, 2004 at 20:53 UTC ( [id://329429]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: perl global vars in subroutines
in thread perl global vars in subroutines

I only use in non-parallel processed code. As for the ENV itself, when the shell dies the vars die, only code within the created fork and below contain the values.

  • Comment on Re: Re: Re: perl global vars in subroutines

Replies are listed 'Best First'.
Re: Re: Re: Re: perl global vars in subroutines
by Anonymous Monk on Feb 17, 2004 at 07:38 UTC
    I don't know what you're saying, but perl only affects perl, so the enviroment which started perl does not get modified by perl
    E:\>echo %FORK% %FORK% E:\>perl -le"$ENV{FORK}=666;" E:\>echo %FORK% %FORK%

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-19 21:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found