Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: pointy counters

by jffry (Hermit)
on Dec 20, 2011 at 23:38 UTC ( [id://944502]=note: print w/replies, xml ) Need Help??


in reply to pointy counters

This is kind of neato, I suppose, but I'm having trouble figuring out why. What's wrong with a for loop and a range operator?

for my $i (1..10) { print "i = $i\n"; }

Replies are listed 'Best First'.
Re^2: pointy counters
by Anonymous Monk on Dec 20, 2011 at 23:50 UTC
    That is merely point-ish, not pointy :)
Re^2: pointy counters
by tobyink (Canon) on Dec 21, 2011 at 10:55 UTC
    Well, duh. The range operator isn't even nearly pointy enough!

Log In?
Username:
Password:

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

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

    No recent polls found