in reply to Re^4: "use" modifier code via import()
in thread "use" modifier code via import()
I've certainly never read that rule anywhere and don't assume only symbol exporting when I see a module.
There are no rules, as we all know, but some things are more confusing than others. Sometimes people go overboard with Perl's flexibility in order to get a certain syntax that appeals to them. The core documentation on the creation of modules is nearly all about using Exporter, and the idea that a function called "import" would be doing something entirely unlike importing is not obvious to people who haven't seen it done before.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re^4: "use" modifier code via import()
by hv (Prior) on May 18, 2004 at 03:40 UTC |