in reply to Re: Re: use autouse with OOP
in thread use autouse with OOP
I think you need to change the line in autouse.pm that says:
to:my $index = index($func, '::');
You might want to submit this as a bug to the Perl Porters.my $index = rindex($func, '::');
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).
|
|---|