Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(tye)Re: Short (and clever?) CSV-to-AoA

by tye (Sage)
on Apr 24, 2001 at 01:04 UTC ( #74880=note: print w/replies, xml ) Need Help??


in reply to Short (and clever?) CSV-to-AoA

Just to show another way (which I wouldn't actually suggest using due to the memory requirements, though it doesn't really use much more memory than some of other solutions suggested that turned out to be solutions for the wrong problem):

use mapcar; my @AoA= mapcar{[@_]}map{[split]}<DATA>;
(requires mapcar -- map for more than one list)

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://74880]
help
Chatterbox?
[thezip]: G'day all. Apparently Strawberry Perl has issues with deploying Spreadsheet::XLSX for Perl 5.24.1. I need this module to maintain compatability with an existing script. I'm new to Strawberry -- is there a safe way to manually deploy this?
[MidLifeXis]: Where is it hanging up?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-03-23 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (290 votes). Check out past polls.