Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
> In the OO module, store %INC at the beginning, do all you need, then set %INC back to what it was.
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) In reply to Re: Wrong + Right = Even Worse
by LanX
|
|