News for hackers. Stuff that matters.
Re:A function decorator that rewrites the bytecode to enable... by jstanley on Tuesday September 21, 2021 @09:46AM (#28604974)
In Perl, "next" can take a label:

    LOOP:
    while (foo()) {
        while (bar()) {
            if (baz()) { next LOOP; }
        }
    }
Re:A function decorator that rewrites the bytecode to enable... by Viliam1234 on Tuesday September 21, 2021 @04:56PM (#28609826)
Similar in Java (it is called "break", and the optional label is written the same way), although I'd guess most Java developers don't know about it.