Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by LanX (Saint)
on May 02, 2018 at 17:58 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-26 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found