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


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

> It was never supported. A bug ...

Well a bug which made its way into the perldocs.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

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

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

    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.

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