# Pastebin 3AKaUdzp if $result == 0 { my $response = "Invalid user."; } else { my $risk = do given $result { when .0 < * <= .4 { $risk = "**LOW**" } when .4 < * <= .7 { $risk = "**MEDIUM**" } when .7 < * { $risk = "**HIGH**" } }