in reply to Re: A useful use of goto
in thread A useful use of goto

Yes, sticking everything into a temporary namespace would have worked too, that approach did not occur to me at all.

Replies are listed 'Best First'.
Re^3: A useful use of goto
by The Perlman (Scribe) on Apr 11, 2010 at 21:42 UTC
    You don't even need a temporary namespace, just call it something like __PACKAGE__::Config and you can reuse it on demand.

    Anyway thank you, the pattern of using goto for a scopeless loop is worth to be mentioned! 8)