in reply to Re: Re: use autouse with OOP
in thread use autouse with OOP

Hmm... yes, you're right. There's a bug in autouse with modules whose names have '::' in them.

I think you need to change the line in autouse.pm that says:

my $index = index($func, '::');
to:
my $index = rindex($func, '::');
You might want to submit this as a bug to the Perl Porters.

update: wish I'd seen btrott's post before I figured the same thing out myself... would have saved some time. Anyway, I posted this to comp.lang.perl.moderated and comp.lang.perl.modules (wasn't sure which one it belonged in).