Howdy folks, 

Yet another module question. 

I'm so close and I've done this but I can't get it to work.

I am writing a module that is an extension/sub module of an existing module.

use ... MyNewSexxySubModule qw(function);

$obj = new->Original::Package();
for(Original::Package::MyNewSexxySubModule::function($obj,$arg)) { ....


This works like a charm but what I'd really like to do is this:

Use lib '/home/me/modules/';
use MyNewSexxySubModule qw(function); # package Original::Package::MyNewSexxySubModule;

$obj = new->Original::Package();
for($obj->function($arg)) { ....

When I try that it says:
Original::Package=GLOB(0x829da00) is an [unexpected] object, aborting at ./ModTest.pl 
line 21
Line 21 is my for($obj->....

Any ideas what I'm missing ?? 

TIA

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to