Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by stevieb (Canon)
on May 02, 2018 at 14:53 UTC ( [id://1213948]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -wMstrict -E 'for my $d (qw(1 2 3)){say $d}'
    1
    2
    3
    
  2. or download this
    perl -wMstrict -E 'for my $d qw(1 2 3){say $d}'
    1
    2
    3
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found