map { [ split '', $_ ] } unpack join(" ", ("a$width") x $height), $string;
In reply to Re: How can I cleanly split a string of text into a two-dimensional array
by nothingmuch
in thread How can I cleanly split a string of text into a two-dimensional array
by vroom
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |