Help for this page

Select Code to Download


  1. or download this
    sub getChecksum($) {
            my $in = shift;
            local our $check = 0;
            $in =~ m/(?:(.)(?{$check += ord($1);}))*^/;
            return $check;