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%