Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Pure Perl tail call optimization

by drewbie (Chaplain)
on Apr 24, 2002 at 14:20 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://161617]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found