Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: ImageMagick Point Query

by ColonelPanic (Friar)
on Nov 22, 2012 at 13:51 UTC ( #1005133=note: print w/replies, xml ) Need Help??

in reply to ImageMagick Point Query

Just a quick usage note: in Perl there is almost always an easier solution than C-style for loops

for my $col (50..99) { for my $row (150..199) { #same code here } }

It's a small point, but in my experience incorrectly handled iterator variables are a common source of mistakes. Letting Perl take care of that means fewer headaches.

When's the last time you used duct tape on a duct? --Larry Wall

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2016-10-29 00:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.