Re: Tail call optimization

2002-06-05 Thread Jenda Krynicky
From: "Tagore Smith" <[EMAIL PROTECTED]> > Thanks :). That's great. I don't use goto much, except for a couple of > very specific situations, so I hadn't read the docs for goto. It > seems I missed a very interesting beast in goto &NAME. In fact , I > sent a friend of mine some

Re: Tail call optimization

2002-06-03 Thread Tagore Smith
Jenda Krynicky wrote: > I believe they meant "goto &NAME". > This way perl doesn't create a new record in the call stack every > time you "call" the _fib(). > As you can see if you comment out the return in fib_() and remove > the comment from "croak ..." and "use Carp;". (die() with stack >

Re: Tail call optimization

2002-06-02 Thread Jenda Krynicky
From: "Tagore Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject:Tail call optimization Date sent: Tue, 28 May 2002 23:42:30 -0400 > I came across this statement on the web: > > >Perl ... supports the tail-call optimizati