Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How can I cleanly split a string of text into a two-dimensional array

by nothingmuch (Priest)
on Jan 14, 2005 at 17:07 UTC ( [id://422319]=note: print w/replies, xml ) Need Help??


in reply to How can I cleanly split a string of text into a two-dimensional array

map { [ split '', $_ ] } unpack join(" ", ("a$width") x $height), $string;
-nuffin
zz zZ Z Z #!perl
  • Comment on Re: How can I cleanly split a string of text into a two-dimensional array
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://422319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-24 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found