Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-07-25 04:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls