Skip to content

Instantly share code, notes, and snippets.

@mfollett
Created September 13, 2010 02:50
Show Gist options
  • Save mfollett/576734 to your computer and use it in GitHub Desktop.
Save mfollett/576734 to your computer and use it in GitHub Desktop.
while( defined (my $val = $stream->() ) )
{
say "We've reached number $val!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment