On Wed, Sep 05, 2001 at 09:02:00PM -0400, Bryan C. Warnock wrote:
> Hmm.... is this such a good thing?

Using goto LABEL?  No.  ;)

Would be nice if Perl warned one about multiple labels of the same
name in the same call stack, though.

> my $a = 0;
> GORK: while( 1 ) {
>         print "Rin ";         
> GORK:   if ( 1 ) {
>             print "Tin ";
>             goto GORK if $b ^= 1;
>             print "\n";
>             next GORK;
>         }
>      }


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
I blame myself.  AND SATAN.
  • Labels Bryan C . Warnock
    • Michael G Schwern

Reply via email to