in reply to USE or Require?
On the flip side, the only routine I export is new, and that goes in EXPORT_OK. I tend to shy away from writing libs, in a non OOP style. I hate namespace corruption, and I simply don't want to afflict it on the next person in line. With that said I try to do use module (); when I remember. I almost never directly access stuff outside of main's namespace, the only exception I can think of is File::Find, which irks me to no end everytime I use it, but *shrug*
use perl;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: USE or Require?
by adrianh (Chancellor) on Jul 23, 2003 at 20:02 UTC | |
by demerphq (Chancellor) on Jul 24, 2003 at 01:20 UTC | |
by adrianh (Chancellor) on Jul 24, 2003 at 09:01 UTC | |
by demerphq (Chancellor) on Jul 24, 2003 at 11:07 UTC | |
by l2kashe (Deacon) on Jul 24, 2003 at 13:58 UTC | |
by adrianh (Chancellor) on Jul 24, 2003 at 14:38 UTC | |
by l2kashe (Deacon) on Jul 24, 2003 at 19:11 UTC | |
by adrianh (Chancellor) on Jul 24, 2003 at 21:49 UTC | |
by diotalevi (Canon) on Jul 24, 2003 at 21:23 UTC | |
|
In Section
Meditations