Assuming the key contains valid 2digit hex numbers:
use strict; use warnings; my $key = "A21B12C212AD12FF"; my @key = map hex, $key =~ /../g; print "@key\n";
HELP: How to do this with unpack? All my attempts are failing...
In reply to Re: String to Byte array
by hdb
in thread String to Byte array
by kpaxian25
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |