Lines Matching refs:in

208 left-to-right search of C<$self>'s class hierarchy that resulted in the
214 past the current class -- to look for a suitable method in other
217 A typical use would be in the destructors of a class hierarchy,
218 as illustrated in the synopsis above. Each class in the hierarchy
222 its parent classes are called (in depth-first, left-to-right order).
224 Another typical use of redispatch would be in C<AUTOLOAD>'ed methods.
226 particular call, it might choose to redispatch that call, in the
231 elsewhere in the objects class hierarchy, it quietly gives up and does
260 C<NEXT::ACTUAL> is most commonly used in C<AUTOLOAD> methods, as a means to
274 method call, an exception will be thrown (as usually happens in the absence of
280 If C<NEXT> redispatching is used in the methods of a "diamond" class hierarchy:
308 more distinct paths (e.g. in the way C<E> inherits C<A::foo> twice --
323 but in others (e.g. for destructors) it may be more appropriate to
335 once. That is, to skip any classes in the hierarchy that it has
389 calls I<every> method named C<foo> that the object in C<$obj> has inherited.
411 Prefixing a method call with C<EVERY::> causes every method in the
413 illustrates, they are not called in Perl's usual "left-most-depth-first"
417 and the resulting order of classes is used as the sequence in which methods
420 any ancestral class. That's why, in the above example, C<X::foo> is called
421 before C<D::foo>, even though C<D> comes before C<X> in C<@B::ISA>.
439 Whichever version is used, the actual methods are called in the same
446 A hash of array references in list context. Each entry of the hash has the
452 A reference to a hash of scalar values in scalar context. Each entry of the hash has the
457 Nothing in void context (obviously).
463 The typical way to use an C<EVERY> call is to wrap it in another base
481 which the call to C<EVERY::LAST::Destroy> in the inherited destructor
484 Likewise, to create a class hierarchy in which every initializer inherited by
510 which the call to C<EVERY::LAST::Init> in the inherited constructor
521 has to guess where the surrounding call was found in the method