user-pic

Tom Ryder

  • Website: sanctum.geek.nz
  • About: Banging out Perl to help keep my corner of the internet from falling over. TEJR on CPAN.
  • Posted Don't use until, unless... to Tom Ryder

    In Perl 5, until is a negated version of while. Instead of writing this:

    while (defined(my $i = $iter->next())) {
        say $i;
    }
    

    Using until al…

Subscribe to feed Recent Actions from Tom Ryder

No responses to comments.

Subscribe to feed Responses to Comments from Tom Ryder

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.