Hi all,
I am in a situation where I don't know much PERL/CGI, but am frantically reading through the learn Perl/learnCGI in 24 hour books. I just got done programing in dbase for some climatology work and now have to switch gears quickly.
My mission: to read in a (comma-delimited)web file with no extension:
http://147.241.74.132/cgi-bin/model/fddasites.csv?RANGE=crtc&GLOB=CS8&PATH=images/rtfdda/&BIAS=OFF
The problem is, that I want to skip down 14-16 lines to get to the first line of data.
What is the easiest way to read in the lines of data, into an array?
A friend sent me this link: CGISCRIPTER
Is this along the lines of what I need? i will be placing simple (~50)Excel line equations probably into an array as well to perform calculations with the read in values. I will output the answers to a simple HTMl page.
HELP! I don't know much in the realm of CGI scripting, but I have been learning MySQL. I read in one message board that you can use "LOAD DATA INFILE 'C:\Documents and Settings\d~1\Desktop\test.csv' INTO TABLE x; " or something along those lines? Could MySQL be used or is just faster just to have PERL do all the reading, writing and arithmetic?
Anyways, thanks to anyone who would lend a helping thought,
Dave
PS- In the perl books, where should I concentrate my reading? using the "OPEN" command?