I've a problem and I'm not sure where to start.
I've got 2 pacakges Foo.pm and Bar.pm I'd like package Foo to be able to intercept all calls to package Bar, perform some actions and then forward the call to package Bar. Basically ot the end user it will apear package Foo is doing everything...they don't even know package Bar exists. Another twist is that package Bar may not exist or be available so it will have to be loaded on the fly.
I've been mucking with AUTOLOAD but I can't semm to figure it out. I don't even know if AUTOLOAD is what I should be using.
Any ideas?? Thanks a whole lot in advance. Save my bacon if you can help.