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
In reply to Re: Re: Module Inheritance
by broquaint
in thread Module Inheritance
by ronniec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |