in reply to Re^2: Using variables in top level script inside the perl modules
in thread Using variables in top level script inside the perl modules
Pass the variable into the constructor for the object that needs it then. Besides, a little refactoring up front to add such a facility rather than hacking it in is almost always worth while.
|
|---|