This seems straight forward enough to me. First off I
would point you to CGI and suggest you read
the man pages. In there are suggestions for how to deal
with cookies and the like. Secondly talk to your
system adminsitrator about file permissions and what
user id your web server is running as and make sure your
CSV file is working correctly.
As far as reading in the CSV file there are more ways to
do that than I can possibly enumerate here. The simplest
of which would be:
open FIN,"< myfile.csv"
or die "could not open mysfile.csv:$!";
while(my $line=<FIN>){
chomp $line;
my @fields=split/[\,]/,$line);
# do something with it
}
# etc.
Since you are trying to fill out a form with the
data I would suggest you look at LWP::UserAgent
and friends.
What have you tried and what has failed and in what
manner did it fail? You reference a web page, why?
UPDATE: misunderstood the question(s).
Peter L. Berghold -- Unix Professional Peter at Berghold dot Net |
| |
Dog trainer, dog agility exhibitor, brewer of
fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and
a good Belgian ale in your chalice. |
|