in reply to Re^2: Image processing in perl
in thread Image processing in perl
You should use strict;. Had you done so you would realize that %OPTIONS doesn't exist, which is a clue that your expectation that $OPTIONS{multiple} = 1; is doing something is wrong.
The POD for that module is simply awful. However, I think if you alter your match() call as follows, you'll have better luck:
my( @matches ) = $sample->match($reference, {multiple => 1});
You should find @matches to now be populated with an array of arrays representing the XY coordinates of each match.
Whoever wrote that POD should be shot though (with a water pistol, of course). I would have to read the module's actual code to be sure that my suggestion even fits.
Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Image processing in perl
by viplav4u1ly (Initiate) on Feb 03, 2011 at 16:14 UTC | |
by davido (Cardinal) on Feb 03, 2011 at 20:05 UTC |