in reply to Wrong + Right = Even Worse
Or the other way round, you create a loop inspecting the %module:: stash to copy all imported subs into %main::
At the end you need a big migration strategy which doesn't shoot you in the foot if you decide one day to migrate all "pseudo-modules" to real modules.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|