$x = 0;
$s = "HOLY BIBLE";
#
# add up ASCII codes for all letters in the $s string.
# (also, print out extra information)
#
$s =~ s/(\w)/{$x+=($o=ord($1));print"$1 - $o\n";''}/eg;
print "Total: $x\n";
####
H - 72
O - 79
L - 76
Y - 89
B - 66
I - 73
B - 66
L - 76
E - 69
Total: 666
##
##
# Under Construction