Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Parsing a comma delimited file

by busunsl (Vicar)
on Feb 13, 2003 at 14:06 UTC ( #234972=note: print w/replies, xml ) Need Help??


in reply to Parsing a comma delimited file

open(IN, "<c:\doclist.chr") or die "Couldn't open file, $!"; open(OUT, ">c:\doclist.txt") or die "Couldn't open file, $!";
When specifying pathnames use forward slashes '/' not backslashes '\', even on windows machines.

Perl will handle this for you.