in reply to Re: Multiple Packages in a Module?
in thread Multiple Packages in a Module?
haukex: ...the equivalent of use would be BEGIN { require test_v1; Foo->import(); Foo::Bar->import(); }.Actually, no. The equivalent would be BEGIN { require test_v1; test_v1->import; }.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Multiple Packages in a Module?
by haukex (Archbishop) on Jun 25, 2018 at 20:45 UTC | |
by haj (Vicar) on Jun 25, 2018 at 21:08 UTC | |
by haukex (Archbishop) on Jun 25, 2018 at 21:32 UTC |