in reply to dynamiclly assigning values to global variables in modules

Since modules are loaded before your program executes, if you are setting %ENV in your program, by the time it gets set, the module is already loaded.

You have several options:

        What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
              -Larry Wall, 1992

  • Comment on Re: dynamiclly assigning values to global variables in modules