A Continental Perl Adventure Day One 11 of 96 : [PREV] [NEXT]

Programing with iterators and generators

  • Filehandles are Iterators
  • Iterators are Objects
  • Common Examples of Iterators: readdir, each, and DBI
  • File tree scanning
  • Permutations
  • Genomic Sequence Generator
  • Filehandle Iterators
  • A Flat-File Database
  • Searching Databases Backwards
  • Random Number Generation
  • Alternatives to Iterators
  • Filters and Transforms: map and grep for iterators
  • Recursively-Constructed Iterators
  • The Semipredicate Problem
  • Alternative Interfaces to Iterators: Tied scalars and handles
  • An Extended Example: Web Spiders

© 2003 Barbie barbie@missbarbell.co.uk Home http://birmingham.pm.org/