in reply to Re: How to make global variable, like %ENV
in thread How to make global variable, like %ENV

Is for the HWX enverioment. Since the HWX apps can be runed in many packages in the same time, I can't export %HWX to %foo::HWX, because when the app goes out I need to read the hash %HWX to save in the disk, and I can do this if I have a lot of clones of the hash! And I don't want that the user write: %main::HWX, since the hash need to have the idea of a global variable. The changes that I made in the gv.c works very well! What I want is to enable this in other Perl versions, because if someone want to port the resource of HWXperl to other Perl, it will be free to do.

Graciliano M. P.
"The creativity is the expression of the liberty".

  • Comment on Re: Re: How to make global variable, like %ENV