in reply to Package mismatch

How can I solve this?

Also use Geography::NationalGrid, i.e.

use Geography::NationalGrid; use Geography::NationalGrid::IE; ...

(This is required for the constant declarations such as

use constant MIN_LONG => Geography::NationalGrid->deg2rad('-11d 12m 0s +');

in Geography::NationalGrid::IE. — The module should probably load Geography::NationalGrid itself (as it obviously depends on it), but it doesn't...)