Syntactic Confectionery Delight | |
PerlMonks |
Re: Parsing a comma delimited fileby bart (Canon) |
on Feb 13, 2003 at 14:36 UTC ( [id://234990]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|