in reply to Making & Recalling Globals

If I understand correctly, your trying to:

  1. Create a new module.
  2. Call that module from a script.
  3. From that script, call a variable that is defined in the new module that you created.

If that's correct, I'm probably shouldn't be offering advice, but I'll try anyways. I've never written my own module, but I think what you're needing to do is export the variable/function. I believe that perlmodlib would probably have some useful information. You'll want to look for 'exporting' instead of 'globals'.

Replies are listed 'Best First'.
Re^2: Making & Recalling Globals
by Anonymous Monk on Sep 22, 2010 at 20:20 UTC
    Thanks! I'll take a look.