Syntactic Confectionery Delight | |
PerlMonks |
Perly way of handling coordinates?by loris (Hermit) |
on Sep 12, 2007 at 07:18 UTC ( [id://638497]=perlquestion: print w/replies, xml ) | Need Help?? |
loris has asked for the wisdom of the Perl Monks concerning the following question: Dear all, I am working with 2D coordinates (actually representing cells in an Excel sheet) and need to add and subtract various offsets to get at the coordinates I need. Currently I am mainly using references to arrays to hold the coordinates, but I was wondering whether there was some clever perly way via which I would be able to do something like the obviously incorrect:
Any ideas? Thanks, "It took Loris ten minutes to eat a satsuma . . . twenty minutes to get from one end of his branch to the other . . . and an hour to scratch his bottom. But Slow Loris didn't care. He had a secret . . ." (from "Slow Loris" by Alexis Deacon)
Back to
Seekers of Perl Wisdom
|
|