Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
No such thing as a small change
 
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 imbibing at the Monastery: (5)
As of 2014-04-20 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls