An example using unpack:
c:\@Work\Perl\monks>perl -wMstrict -le "my $string = '8602353907455755'; my @arr = unpack '(a2)*', $string; print qq{@arr}; " 86 02 35 39 07 45 57 55
Give a man a fish: <%-{-{-{-<
In reply to Re: Pulling bytes out of string
by AnomalousMonk
in thread Pulling bytes out of string
by mike65535
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |