http://www.perlmonks.org?node_id=913750

packetstormer has asked for the wisdom of the Perl Monks concerning the following question:

Hello,
Any pointers on how one might get the sum of the binary values of a string? e.g
$string = "This is a string to change to binary";
I need to figure out how to get the binary value for each character in this string, including spaces, then get the sum of them all. Its for a checksum part of an app I am writing but I can't figure this at all. Any suggestions on modules I might use?