Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Pure Perl tail call optimization

by Limbic~Region (Chancellor)
on Mar 05, 2004 at 18:12 UTC ( #334306=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print tail_factorial(1, 8);
    
  2. or download this
    sub tail_factorial {
        my ($n, $total) = @_;
    ...
        @_ = ($n - 1, $total * $n);
        goto &tail_factorial;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://334306]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-09-21 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls