http://www.perlmonks.org?node_id=161561


in reply to Re: Shift versus Sanity
in thread Shift versus Sanity

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.

Replies are listed 'Best First'.
Re: Re: Re: Shift versus Sanity
by pdcawley (Hermit) on Apr 24, 2002 at 12:25 UTC
    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