Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by ikegami (Patriarch)
on May 02, 2018 at 17:45 UTC ( #1213963=note: print w/replies, xml ) Need Help??


in reply to Re: 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 in the parser merely allowed it despite being invalid syntax.

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

Replies are listed 'Best First'.
Re^3: Perl Tutorial code uses "qw" but has an error when run
by LanX (Sage) on May 02, 2018 at 17:58 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://1213963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2022-05-22 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?