Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Modifying an existing Perl script to ask for input and output filenames and also remove double quotes for outfile file

by Tux (Canon)
on Jan 30, 2018 at 07:22 UTC ( [id://1208107]=note: print w/replies, xml ) Need Help??


in reply to Modifying an existing Perl script to ask for input and output filenames and also remove double quotes for outfile file

See the quote_space attribute. Fields with spaces in them are quoted by default. As this is not required, there is an option to not do so.

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

Enjoy, Have FUN! H.Merijn
  • Comment on Re: Modifying an existing Perl script to ask for input and output filenames and also remove double quotes for outfile file
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found