I am a beginner in perl. It would be nice to hear some suggestions on
how I could do this. My problem is as follows:
I have a .bib file from which I have to get another file of a
different format, .json. And this is done online by a converter ht(t)
p://simile.mit.edu/babel/
I would like to write a perl script to automate this process. I read
some about getting information from websites using "curl" syntax and
parsing through for required information, but I am unsure as to how to
obtain the effect of "clicking the convert" button and asking it to
automatically save the file on my desktop.
thank you,
with best regards,
arun.
Take a look at WWW::Mechanize if you're trying to simulate button clicks
on a web page, but I believe that's for your standard HTML page. If
you're getting it from a JavaScript driven site, I believe that there is
a module for that but the name escapes me at the moment.
WWW::Mechanize has some good tutorials from what I remember when I used
it to do some data mining for work.
Dig around CPAN and you should find something that will work for you.
http://search.cpan.org
Hi Dave,
thank you, i will have a look at it. I also have to check the page is
javascript based or not.
i will reply back after trying.
thks again!
best, arun.