Re: URI::URL
Martijn Koster (m.koster@nexor.co.uk)
Wed, 12 Jul 1995 08:57:26 +0100
In message <9507112045.aa01029@post.demon.co.uk>, Tim Bunce writes:
> > # Aliases for old method names. To be deleted in a future version.
> > { package URI::URL::_generic;
> > *{"dump"} = \&print_on;
> >
> > What is going on? (I use perl5.001m and URI::URL 2.11)
>
> I think print_on used to be defined in the URI::URL::_generic package.
> The dump alias would therefore be correctly setup to refer to print_on.
>
> At a later date print_on moved up to URI::URL. Now the act of saying
> "package URI::URL::_generic; ...=\&print_on;" creates an undefined stub.
> The stub intercepts the method lookup hence the error.
>
> I'd just delete that block. It's time has passed.
I think so too.
-- Martijn
__________
Internet: m.koster@nexor.co.uk
X-400: C=GB; A= ; P=Nexor; O=Nexor; S=koster; I=M
WWW: http://web.nexor.co.uk/mak/mak.html