Click here to get back home

www::mechanize $mech->select

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
www::mechanize $mech->select Ralf Schaa 02-04-2005
Posted by Ralf Schaa on February 4, 2005, 5:01 pm
Please log in for more thread options
Hi folks,

according the document there is a method 'select' in the www::mechanize
package, trying the following i get an error mesage:

$mech->form(0);
$mech->select("var select", 17);

Error: Can't locate object method "select" via package WWW::Mechanize

could someone tell me what is going on here ?

Thanks a lot
-Ralf


Posted by thundergnat on February 4, 2005, 2:31 pm
Please log in for more thread options
Ralf Schaa wrote:

> according the document there is a method 'select' in the www::mechanize
> package, trying the following i get an error mesage:
>
> $mech->form(0);
> $mech->select("var select", 17);
>
> Error: Can't locate object method "select" via package WWW::Mechanize
>
> could someone tell me what is going on here ?
>

Are you sure the version of WWW::Mechanize on your computer
is current? Apparantly, the select method was added in March
2004. Older versions of WWW::Mechanize (Pre .74) don't
have a select method but the latest version on CPAN (1.10)
does.

You may have a mismatch between the docs and the actual module.






Posted by Ralf Schaa on February 8, 2005, 6:01 pm
Please log in for more thread options
thundergnat wrote:
> Are you sure the version of WWW::Mechanize on your computer
> is current? Apparantly, the select method was added in March
> 2004. Older versions of WWW::Mechanize (Pre .74) don't
> have a select method but the latest version on CPAN (1.10)
> does.
>
> You may have a mismatch between the docs and the actual module.


thanks, that is the answer.
though not retrievable via ppm, i succeeded installing a newer version
by hand.





> Ralf Schaa wrote:
>> according the document there is a method 'select' in the
>> www::mechanize package, trying the following i get an error mesage:
>>
>> $mech->form(0);
>> $mech->select("var select", 17);
>>
>> Error: Can't locate object method "select" via package WWW::Mechanize
>>
>> could someone tell me what is going on here ?
>>


Similar ThreadsPosted
Help with Mechanize January 15, 2007, 3:14 pm
WWW::Mechanize v 1.03_01 August 3, 2004, 9:57 pm
Mechanize question November 8, 2004, 10:57 pm
WWW:Mechanize with Menu September 9, 2006, 9:13 pm
WWW:Mechanize problem? January 29, 2007, 7:00 am
WWW::Mechanize "There is no Form named (...)" December 8, 2004, 5:58 am
win32::ie::mechanize PROBLEM December 10, 2004, 7:06 am
WWW::Mechanize and NTLM authentication December 21, 2004, 3:55 pm
WWW::Mechanize cannot find the form. February 14, 2006, 9:04 pm
WWW::Mechanize single quotes around url January 12, 2007, 12:54 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap