Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

Comment on Re: ImageMagick Point Query
Download Code

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 examining the Monastery: (9)
As of 2015-11-30 22:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls