- or download this
my @intarray = unpack 'c*', "perl string";
my @intarray = map ord, split //, "perl string";
- or download this
my $integer = vec "perl string", $i, 8;
- or download this
$something = substr("a string", 4, 1) & 2**3;
- or download this
$something = atoi("r") & 2**3;