Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CSV cleanup problem...

by BrowserUk (Pope)
on Jun 14, 2005 at 05:40 UTC ( #466395=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    "title", "Some Name, "some wierd title"", "555-555-5555"
    
  2. or download this
    'title'|'Some Name, "some wierd title"'|'555-555-5555'
    
  3. or download this
    $line =~ s[^"|"$][']g;
    $line =~ s[",\s"]['|']g;
    
  4. or download this
    my $csv = Text::CSV_XS->new({
         'quote_char'  => "'",
         'sep_char'    => '|',
    });
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://466395]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-06-24 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?