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; }.
In reply to Re^2: Multiple Packages in a Module?
by haj
in thread Multiple Packages in a Module?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |