if ($point >= 2 && $point <= 12) { return (6 - abs(7 - $point)) / 36; } [download]
In reply to Re: Converting pascal code to perl by YuckFoo in thread Converting pascal code to perl by Popcorn Dave