Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Shift versus Sanity

by Biker (Priest)
on Apr 24, 2002 at 08:17 UTC ( #161537=note: print w/ replies, xml ) Need Help??


in reply to Shift versus Sanity

The only Perl statement I refuse to use is goto()


Everything went worng, just as foreseen.


Comment on Re: Shift versus Sanity
Download Code
Re: Re: Shift versus Sanity
by Anonymous Monk on Apr 24, 2002 at 10:40 UTC
    Hmm... goto &func is really, really useful in an AUTOLOAD. I agree that goto LABEL is really bad. And its lots faster and slightly better structured to do redo LABEL instead.

    The redo LABEL trick is something I'm using in a Scheme implementation I'm working on. It's sort of horrible, but it buys me tail call optimization and (coming soon) 'real' continuations, so I'll make the trade.

      Gah! Note to self: Always log on before commenting.

        Oh, don't worry about that Piers. We knew it was you. Who else is implementing Scheme in a version of Perl not yet released?

        Cheers,
        Erik

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2015-07-04 20:11 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 (60 votes), past polls