Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: How many loops are there in Perl?

by LanX (Saint)
on Feb 01, 2012 at 23:04 UTC ( [id://951312]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<72> (" "x10) =~ m/ (?{print $x++})/g
     => (" ", " ", " ", " ", " ", " ", " ", " ", " ", " ")
    0123456789
    
  2. or download this
      DB<20> $_=" "x10; s/ /print $x++/ge
     => 10
    0123456789
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found