>>>>> "Sam" == Sam Vilain <[EMAIL PROTECTED]> writes:

Sam> These are the conventions I've seen used:

-> __next__    (Object::Iterate)
-> ()          (MJD-style)
-> get_next    (SPOPS-style)
-> next        (Tangram::Cursor, File::Iterator,
                   Data::Iterator::EasyObj, etc)

Perhaps you missed <http://www.stonehenge.com/merlyn/LinuxMag/col30.html>,
putting an iterator behind a tied hash, giving you "each" as a single
iteration, or "keys" to get them all.

Yet Another Way. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to