in reply to How to trick strict like Exporter does
If you're going to import, you have to do it from a different package than the one you're importing to. That's how you avoid that warning you complained of. The *main::foo vs *foo thing is a red herring. It's just a syntax difference if the current package is main. Even if you weren't in main, *main::foo and *::foo would also just be syntax and not meaningfully different.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to trick strict like Exporter does
by tinita (Parson) on Jul 12, 2006 at 15:19 UTC | |
by tye (Sage) on Jul 12, 2006 at 15:59 UTC | |
by rblasch (Monk) on Jul 12, 2006 at 16:16 UTC | |
by betterworld (Curate) on Jul 12, 2006 at 17:44 UTC |