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

Answer: How do I create a CSV from a 2D array?

by Anonymous Monk
on Dec 18, 2000 at 22:08 UTC ( #47226=categorized answer: print w/replies, xml ) Need Help??

Q&A > arrays > How do I create a CSV from a 2D array? - Answer contributed by Anonymous Monk

or, alternately:

sub delimit { my $delim = shift; return join('', map { join($delim, @$_) . "\n" } @_); }

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2018-02-23 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (300 votes). Check out past polls.

    Notices?