Hi all,
I've written a script that has a few subs and would like to put the subs into a module (.pm). When I transfer the subs into the module I get problems accessing global vars declared in the script from the module. Does anyone have suggestions on how to use global vars and perl modules. I realize I can pass the vars to the subs, or just keep the code in the script (via subs), but :
a) I am using quite a few vars.
b) the code is being re-used quite often.