You also need to use & (binary-wise and) instead of && (logic-wise and).shell$ perl -e 'print hex("E000"), "\n"' 57344
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
In reply to Re: Using pack to evaluate text strings as hexadecimal values
by polettix
in thread Using pack to evaluate text strings as hexadecimal values
by davis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |