Re: Can't call NEXT::f from B::g



Victor Porton <porton@xxxxxxxx> writes:

$ perl test.pl
Can't call NEXT::f from B::g at /home/porton/t/test2.pl line 10

Why the error?

Doesn't the following except from the documentation to NEXT explains
it?

Note that it is a fatal error for any method (including "AUTOLOAD") to
attempt to redispatch any method that does not have the same name. For
example:

sub D::oops { print "oops!\n"; $_[0]->NEXT::other_method() }

//Makholm
.



Relevant Pages

  • Re: TreeView in a Win32 application project
    ... fatal error LNK1120: 1 unresolved externals ... What is missing is a trip to the documentation, ...
    (microsoft.public.vc.language)
  • Is fatal error C1067 still a problem in VC++7.1?
    ... fatal error C1067: compiler limit: debug information module size exceeded ... The documentation does not say ... that this bug applies to VC++7.1. ...
    (microsoft.public.vc.debugger)
  • Re: Cant call NEXT::f from B::g
    ... Note that it is a fatal error for any method (including "AUTOLOAD") to ... attempt to redispatch any method that does not have the same name. ...
    (comp.lang.perl.misc)