Skip to content

Instantly share code, notes, and snippets.

@mfollett
Created September 13, 2010 03:02
Show Gist options
  • Save mfollett/576746 to your computer and use it in GitHub Desktop.
Save mfollett/576746 to your computer and use it in GitHub Desktop.
my $stream;
{
my $previous = 0;
$stream = sub { $previous++ };
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment