in reply to Re: (tye)Re: Overriding Exporter::import
in thread Overriding Exporter::import
Well, it isn't very new. It wasn't there in 5.001 but then "require VERSION" and "require Module VERSION" weren't either. There all were in 5.004. Unfortunately I don't have any versions between to check. But perl*delta.pod seems to imply that "use VERSION" and "use Module VERSION" were added at 5.004 and "require VERSION" before that.
The docs could be updated to say BEGIN { require Module VERSION; import Module LIST; } rather than what you propose. (: Use perlbug to submit patches to documentation.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (tye)Re: Overriding Exporter::import
by John M. Dlugosz (Monsignor) on Jul 20, 2001 at 00:22 UTC | |
by tye (Sage) on Jul 20, 2001 at 01:09 UTC | |
by John M. Dlugosz (Monsignor) on Jul 20, 2001 at 02:53 UTC |