Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: txt to csv

by torres09 (Acolyte)
on Jun 24, 2013 at 05:44 UTC ( #1040361=note: print w/replies, xml ) Need Help??


in reply to Re^3: txt to csv
in thread txt to csv

I have written the line 7 as

 my $csv = Text::CSV->new(({ binary => 1, eol => $/ }));  

still it puts " before and after every word

Replies are listed 'Best First'.
Re^5: txt to csv
by davido (Archbishop) on Jun 24, 2013 at 05:54 UTC

    So you haven't read the POD yet, or ventured to try any of the parameters that deal with quoting. Try that first.

    And how did serene_monk suddenly become torres09. You're posting SoPW questions and follow-ups under two names? Odd.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040361]
help
Chatterbox?
[Lady_Aleena]: File::Find doesn't have a simple sub wanted example, like get the name of the file.
[Discipulus]: there is also find2perl with your perl installation
[Discipulus]: and in the wanted sub you just calculate the duretion and add it the total, stop
[shmem]: sub wanted { push @files, $File::Find::name if $File::Find::name =~/\.mp3$/ }

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (8)
As of 2017-04-23 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.