SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

BotDetect - Real-Time Bot Detection API
 
 

MAN page from Mandrake Other perl-Class-Visitor-0.02-1.i386.rpm

Iter

Section: User Contributed Perl Documentation (3)
Updated: perl 5.004, patch 04
Index 

NAME

Class::Iter - Iterator superclass for Class::Visitor 

SYNOPSIS

  use Class::Visitor;
  visitor_class 'CLASS', 'SUPER', { TEMPLATE };  visitor_class 'CLASS', 'SUPER', [ TEMPLATE ];
  $obj = CLASS->new ();  $iter = $obj->iter;  $iter = $obj->iter ($parent, $array, $index);
  $iter->parent;  $iter->is_iter;  $iter->root;  $iter->rootpath;  $iter->next;  $iter->at_end;  $iter->delegate;  $iter->is_same ($obj);
 

DESCRIPTION

Class::Iter defines the majority of iterator methods for iteratorclasses created by Class::Visitor.

parent returns the parent of this iterator, or undef if this isthe root object.

is_iter returns true indicating that this object is an iterator(all other is_TYPE queries would be passed on to the delegate).

root returns the root parent of this iterator.

rootpath returns an array of all iterators between and includingthe root and this iterator.

next returns the iterator of the object after this object in theparent's element. If there is no next object, next returns$self.

at_end returns true if this is the last object in the parent'selement, i.e. it returns true if next would return $self.

delegate returns the object that this iterator stands-in for.

is_same returns true if $obj is the delegate or if $obj is aniterator pointing to the same object. 

AUTHOR

Ken MacLeod, kenAATTbitsko.slc.ut.us 

SEE ALSO

perl(1), Class::Visitor(3).


 

Index

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
SEE ALSO

This document was created byman2html,using the manual pages.
 
ICM Bot detect detector