Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Surviving 'Illegal division by zero'by ViceRaid (Chaplain) |
on Jun 23, 2004 at 11:52 UTC ( [id://369011]=note: print w/replies, xml ) | Need Help?? |
Thanks, but I've got lots and lots of these calculations, and what I'd like to be able to do is scope-globally adjust the behaviour, rather than have to wrap every block in either an eval or a conditional. On reflection, a function mydiv:
Might have been easier, but Abigail-II's answer is another way of getting to it as well. Thanks
In Section
Seekers of Perl Wisdom
|
|