Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by 1nickt (Canon)
on May 02, 2018 at 14:52 UTC ( [id://1213947]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -wE 'for my $d qw^ 2006-10-21 15.01.2007 10/31/2005 ^ { say $d 
    +}'
    syntax error at -e line 1, near "$d qw^ 2006-10-21 15.01.2007 10/31/20
    +05 ^"
    ...
    2006-10-21
    15.01.2007
    10/31/2005
    
  2. or download this
    $ perl -wE 'say $_ for qw^ 2006-10-21 15.01.2007 10/31/2005 ^'
    2006-10-21
    15.01.2007
    10/31/2005
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-18 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found