Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Parsing a comma delimited file

by bart (Canon)
on Feb 13, 2003 at 14:36 UTC ( [id://234990]=note: print w/replies, xml ) Need Help??


in reply to Parsing a comma delimited file

Either double your backslashes in your string containing the path, or use a forward slash instead. A single backslash in a double-quotish string usually means something other than a literal backslash.

And if your records aren't that trivial, in that they may be quoted and contain comma's, perhaps you should be using one of the CSV modules instead.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-26 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found