Just another perl hacker somewhere near Disneyland
I have this homenode [perlmonks.org] of little consequence on Perl Monks [perlmonks.org] that you probably have no interest in whatsoever.
I also have some modules [cpan.org] on CPAN [cpan.org] some of which are marginally [cpan.org] more [cpan.org] useful [cpan.org] than others.
my $n = 2_000_000;
my $s = "hello";
my $t = deepref(\$s, $n);
print "Made ref: ";
my $p = scalar(<STDIN>);
sub deepref {
my ($s,$n) = @_;
my $r = \$s;
for (1..$n) {
my $t = $$r;
$r = \\$t;
}
return $r;
}
Blowing your stack on exit 0 Comments More | Login | Reply /