Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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!