http://www.perlmonks.org?node_id=910074


in reply to algorithm help -- how to label a clock

Just use sin and cos to determine the Y and X centers of your labels respectively.

Then depending on the size of your labels, determine their position with respect to those points.