bretelle has asked for the wisdom of the Perl Monks concerning the following question:
Bonjour tout le monde,
in this piece of script
The get() function gives the expected results but it takes more than 60 seconds and produces these warnings:use WWW::Scripter; ($w = new WWW::Scripter)->use_plugin(JavaScript); $w->get('http://www.immoweb.be/FR/Rent.Estate.cfm?IdBien=2805206&xpage +=1');
... which I've not been able to interpret so far. Using get() with other URLs produces other kind of warnings. I know Scripter can be very slow (cf #936386) but maybe if I manage to understand the warnings I'll be able to find a workaround?Argument "\x{b}\x{31}" isn't numeric in addition (+) at /usr/local/sha +re/perl/5.14.2/JE/Number.pm line 93. Unquoted string "inf" may clash with future reserved word at (eval 646 +2) line 2. Unquoted string "inf" may clash with future reserved word at (eval 663 +7) line 2. Unquoted string "inf" may clash with future reserved word at (eval 664 +0) line 2.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: WWW::Scripter performance and warnings
by PerlSufi (Friar) on Dec 12, 2013 at 15:57 UTC | |
by bretelle (Initiate) on Dec 16, 2013 at 10:57 UTC | |
by Anonymous Monk on Dec 16, 2013 at 11:26 UTC | |
Re: WWW::Scripter performance and warnings
by Laurent_R (Canon) on Dec 12, 2013 at 15:46 UTC | |
by Anonymous Monk on Dec 16, 2013 at 10:48 UTC |
Back to
Seekers of Perl Wisdom