1. Computing

Infinite Lists in Perl

From Kirk Brown, About.com GuideMarch 13, 2007

This is an old, but interesting article on creating an infinite list structure in Perl. Granted that a real infinite list isn't possible, given the constraints of computing power and memory, but the structure built is more like a flow of data, or stream. The author compares it to using unix pipes - it creates a flow, that in theory, you could continue to pull data from as long as you like, creating the illusion of an infinite list.

Infinite Lists in Perl
Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2013 About.com. All rights reserved.