in reply to Re: Default import function
in thread Default import function
Hello choroba,
That's what use does.
Yes, according to the documentation for use, it calls the import function:
It is exactly equivalent toexcept that Module must be a bareword.BEGIN { require Module; Module->import( LIST ); }
But how does use call a function that hasn’t been defined anywhere? Are you saying that use itself creates an import function for the target module? (And if so, what are the contents of that function?)
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Default import function
by choroba (Cardinal) on Oct 24, 2016 at 06:55 UTC | |
by Anonymous Monk on Oct 24, 2016 at 13:08 UTC | |
by salva (Canon) on Oct 24, 2016 at 13:23 UTC | |
by choroba (Cardinal) on Oct 24, 2016 at 13:19 UTC |