in reply to Re^2: how NOT to import exported subs/variables from a module?
in thread how NOT to import exported subs/variables from a module?
So unless you need the compile time action from BEGIN, plain require works also. It's only one extra character over use with an empty list and I find it stands out better visually as being a module load without import side-effects.
That's interesting. I would far prefer use Module () since it explicitly says to me "I am deliberately not importing anything' where require Module might be saying any of:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how NOT to import exported subs/variables from a module?
by xdg (Monsignor) on May 31, 2006 at 13:51 UTC | |
by adrianh (Chancellor) on Jun 02, 2006 at 12:34 UTC |