##
$ perl -wle 'my @card_map = qw(zero one two three); print $card_map[-2]'
two
####
my $return_value = '';
if ($num < 0) {
$return_value = $negative;
# continue with the positive value from here on
$num = -$num;
}
# and append other results here:
$return_value .= $card_map[$num];
return $return_value;