Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by merlyn (Sage)
on Apr 24, 2001 at 18:34 UTC ( [id://75064]=note: print w/replies, xml ) Need Help??


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

And yet another way, probably nearly as clean:
my @AoA; while (<DATA>) { my $n = 0; for (split) { push @{$AoA[$n++]}, $_; } }

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-12-09 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (53 votes). Check out past polls.