|We don't bite newbies here... much|
Mucking around with module importsby Viko (Acolyte)
|on Jul 20, 2010 at 13:06 UTC||Need Help??|
Viko has asked for the
wisdom of the Perl Monks concerning the following question:
I want to overload CGI.pm with some minor tweaks of mine. It has to have the same name (using use 'lib' or PERL5LIB to access mine first), due to the number of files I'd have to change in order to replace the original with mine. The problem is that my module has to call the original CGI.pm after it's done.
Any ideas? I've tried removing the lib path with a BEGIN block but that breaks other module imports that rely on my base lib path.
Here's some pseudo code:
Thanks in advance,