Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: CSV cleanup problem...

by BrowserUk (Patriarch)
on Jun 14, 2005 at 05:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://466395]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found