#!/usr/bin/perl use strict; use warnings; my $i = 0; bar(); sub bar { goto &bar if foo(); return; } sub foo {return $i++ < 1_000_000_000;}
Cheers - L~R
In reply to Re: memory leak when using tail recursion?
by Limbic~Region
in thread memory leak when using tail recursion?
by juddhuck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |