Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 avoiding work at the Monastery: (8)
As of 2015-07-04 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls