Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Pure Perl tail call optimization

by drewbie (Chaplain)
on Apr 24, 2002 at 14:20 UTC ( #161617=note: print w/ replies, xml ) Need Help??


in reply to Pure Perl tail call optimization

elsif (!ref($cont)) { return $self->{value} if $cont = 'return'; $self->$cont(); }
Did you mean "if $cont eq 'return';"? That makes more sense, but it's entirely likely I could be missing something.


Comment on Re: Pure Perl tail call optimization
Download Code
Re: Re: Pure Perl tail call optimization
by pdcawley (Hermit) on Apr 24, 2002 at 14:44 UTC
    Gah! You are, of course, correct. It's fixed now.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2015-07-02 03:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (27 votes), past polls