arasu84 has asked for the wisdom of the Perl Monks concerning the following question:
I unable to get result page coding by using the below script. Could any one suggest to get result.
use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get( 'http://www.crossref.org/SimpleTextQuery/' ); $mech->submit_form( form_name => 'freeTextQuery', fields => { email => 'arasu84@gmail\.com', freetext => 'Allman, J. M., Watson, K. K., Tetreault, N +. A. & ., and Hakeem, A. Y. (2005). Intuition and autism: a possible +role for Von Economo neurons. Trends in Cognitive Sciences,Cogn. Sci. + 9 (8), pp. 367-–373.', }, button => 'submitButton' ); my $result = $mech->response->content; print $result;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: unable to get response content through WWW::Mechanize
by robby_dobby (Hermit) on Jun 09, 2015 at 08:11 UTC | |
Re: unable to get response content through WWW::Mechanize
by jellisii2 (Hermit) on Jun 09, 2015 at 11:22 UTC |