Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 about the Monastery: (7)
As of 2014-12-25 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls