in reply to illegal division by zero

In your my declaration, you have defined $exposure but you're trying to use $exposures later on (spot the plural). This is why use strict is IMHO mandatory.