in reply to
illegal division by zero
There are two reasons for that error:
You are splitting on "\|\|", but your string is separated by spaces. It should be
split /\s+/,$db{$_}
You declared $exposure but you are using $exposure
s
Are you using
strict
?
Comment on
Re: illegal division by zero
Download
Code
In Section
Seekers of Perl Wisdom