Is there anyway to tell from inside a module's import {}
perl -MFoo -e1
apart from
perl -e'use Foo;'
and, likewise
perl -e'package main; use Foo;'
I'm trying to have two distinct behaviors for these two. In the -MFoo syntax, I want the behavoir of oose.pm, but I don't want to have import called in the main namespace. In the other syntaxes, I want the sub import to happily occur.