in reply to Re: Module Inheritance
in thread Module Inheritance
A populair belief, but not true.Well, it is true. You know that. It doesn't magically not call import.
Less characters to type, and it gets dealt with at compile time. Why bother with require?It's one less character to type and in modules the likes of require Exporter are being implicitly being handled at compile-time anyhow (assuming they've been useed). As for the 'Why', force of habit I guess. I generally do use Module () if I don't want import to be invoked but make an exception for require Exporter. C'est la vie.
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module Inheritance
by Abigail-II (Bishop) on Apr 29, 2004 at 13:42 UTC | |
by broquaint (Abbot) on Apr 29, 2004 at 14:05 UTC | |
by bart (Canon) on Apr 29, 2004 at 15:00 UTC |