Skip to content

Instantly share code, notes, and snippets.

@hakobe
Created May 23, 2011 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hakobe/986476 to your computer and use it in GitHub Desktop.
Save hakobe/986476 to your computer and use it in GitHub Desktop.
use strict;
use warnings;
sub circular_ref {
my $left = {
};
my $right = {
};
$left->{right} = $right;
$right->{left} = $left;
}
warn 'running';
while (1) {
circular_ref();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment