Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by LanX (Sage)
on May 02, 2018 at 17:58 UTC ( #1213964=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213964]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2022-05-19 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (72 votes). Check out past polls.

    Notices?