in reply to Re^5: "use Foo.pm" twice from inside different packages...
in thread "use Foo.pm" twice from inside different packages...
My bad. As per the Exporter docs, you need to request import explicitly. (You can see how rarely I actually do that!)
package Blarg; use Exporter qw( import );
I updated my earlier post.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: "use Foo.pm" twice from inside different packages...
by wazoox (Prior) on Mar 03, 2006 at 14:39 UTC |