Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • by spacebat (7584) on 2008.01.14 18:07 (#60230) Homepage
    While I think Iterator::Simple is a nice module, one of the really nice things about Python generators is the use of the yield keyword, that allows you to resume execution on the line after the yield the next time the generator is called. It can make some types of iterator code much cleaner. I'm guessing Perl6 will have something similar somewhere in its formidable bag of tricks :)
    --
    Every token is like an unnecessary stain on whitespace and idleness.