in reply to Re: GOTO or not GOTO
in thread GOTO or not GOTO

There is almost never a need to use goto in modern programming languages

Right, but especially in Perl there are some cases where you can't get around goto, e.g. in AUTOLOAD!

Replies are listed 'Best First'.
Re^3: GOTO or not GOTO
by GrandFather (Saint) on Jan 27, 2009 at 11:07 UTC

    Well, it's called goto, but that's a little misleading. In many ways the use (often found in the context of AUTOLOAD) that you allude to is more akin to a magical call to a subroutine than to the conventional use of goto suggested by the OP.


    Perl's payment curve coincides with its learning curve.