Hi, I'm in the deep end with perl at the mo, my project is to collect information from a form and print it to a file which will later be imported into a database.
So far everything has worked well (a few hiccups)and I can print web page data to a file no problem.
The problem is, that for the file to be compatible with the destination database it has to be CSV formatted (comma seperated variables)
ie:
"data","data","data"
and not
data
data
data
...which is what I get right now!!
So... whatever I print to the file has to be in that format, but if the " is so meaningful to PERL, how do we get PERL to output that character to the browser?
same goes for the comma.
I have spent ages looking at web pages trying to find some sort of howto, no such luck. If anyone can show me how I'll do a write up on it and credit you....
Cheers, I really hope that you can help me.
Tels
Win2000 Network Administrator
So far everything has worked well (a few hiccups)and I can print web page data to a file no problem.
The problem is, that for the file to be compatible with the destination database it has to be CSV formatted (comma seperated variables)
ie:
"data","data","data"
and not
data
data
data
...which is what I get right now!!
So... whatever I print to the file has to be in that format, but if the " is so meaningful to PERL, how do we get PERL to output that character to the browser?
same goes for the comma.
I have spent ages looking at web pages trying to find some sort of howto, no such luck. If anyone can show me how I'll do a write up on it and credit you....
Cheers, I really hope that you can help me.
Tels
Win2000 Network Administrator