in reply to How do I get "coords" of multiple polygons with the same "tag"
From your description, it sounds like you want the find() method. Take a look at Tk::Canvas; in particular, ITEM IDS AND TAGS and WIDGET METHODS. You'd use this something like the following:
for my $tag ($canvas->find(...)) { my @coords = $canvas->coords($tag); # do something with @coords }
-- Ken
|
|---|