unpack '(a8)*', $str # Supports incomplete blocks $str =~ /.{8}/sg $str =~ /.{1,8}/sg # Supports incomplete blocks
In reply to Re: How can one decompose a string into an array of 8 character blocks?
by ikegami
in thread How can one decompose a string into an array of 8 character blocks?
by tkguifan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |