Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Make string that results from split behave like double-quoted string

by ww (Archbishop)
on Aug 23, 2013 at 22:07 UTC ( [id://1050742]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (my $i = 0, $i < $#arr, $i++) {
    #corrections  ^      ^^           ^
    #strictly speaking, the commas instead of semis are merely my preferen
    +ces
    ...
    }
    <br>
    <c>
    
  2. or download this
    C:\>perl -E "my @arr=qw(foo bar baz);for (my $x = 0; $x < @arr; $x++){
    + say $x };"
    0
    1
    2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found