What the OP probably needs, rather than an array of integers, is a binary string of unsigned chars derived from the hex string input.
That is done using pack, not unpack:
print pack 'H*', "A21B12C212AD12FF";; ó←↕┬↕¡↕
In reply to Re^2: String to Byte array
by BrowserUk
in thread String to Byte array
by kpaxian25
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |