in reply to
Reading individual variables from a file.
You want to look at
split
.
_______________
D
a
m
n
D
i
r
t
y
A
p
e
Home Node
|
Email
Comment on
Re: Reading individual variables from a file.
Replies are listed 'Best First'.
Re: Re: Reading individual variables from a file.
by
shotgunefx
(Parson)
on Jun 17, 2002 at 21:49 UTC
Using split will fail if any of the input contains a comma. It's more likely than people think. Over the years I've run into many problems with customers and vendors who have bad product data feeds because they used a simple split and call is CSV.
I'd highly recommend
Text::CSV_XS
-Lee
"To be civilized is to deny one's nature."
[reply]
A reply falls below the community's threshold of quality. You may see it by logging in.
In Section
Seekers of Perl Wisdom