Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: (Golf) Strings-to-Array

by MeowChow (Vicar)
on Mar 30, 2001 at 23:21 UTC ( #68476=note: print w/ replies, xml ) Need Help??


in reply to (Golf) Strings-to-Array

Not really golf, just having fun (requires Math::Matrix):

sub s2a {map{join'',@$_}@{+Math::Matrix::transpose[map[split''],@_]}}


Comment on Re: (Golf) Strings-to-Array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-07-30 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls