http://qs321.pair.com?node_id=1213977


in reply to Re^3: Perl Tutorial code uses "qw" but has an error when run
in thread Perl Tutorial code uses "qw" but has an error when run

Could you back up that claim? I just looked at 5.12's perlsyn, and it definitely shows parens required around the list of a foreach loop. I also checked perlop, and didn't see anything different there.

  • Comment on Re^4: Perl Tutorial code uses "qw" but has an error when run

Replies are listed 'Best First'.
Re^5: Perl Tutorial code uses "qw" but has an error when run
by ikegami (Patriarch) on May 02, 2018 at 22:51 UTC

    Oh, one of the examples in one of the tutorials is missing the parens. I wouldn't call that proof of support.

        Yet that's exactly why it was removed.