Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: WWW::Mechanize::Firefox, select with multiple names

by gizmo_mathboy (Pilgrim)
on Oct 28, 2011 at 20:09 UTC ( #934498=note: print w/ replies, xml ) Need Help??


in reply to Re: WWW::Mechanize::Firefox, select with multiple names
in thread WWW::Mechanize::Firefox, select with multiple names

While that didn't work. I think the DOM object is subj_id.

This did work:

my $select = $mech->selector('#subj_id', single => 1); $mech->select($select, ['AAE']);

Thanks for the help. I knew there had to be a way to pass the DOM/CSS stuff into it.

Thanks,

gizmo


Comment on Re^2: WWW::Mechanize::Firefox, select with multiple names
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://934498]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2015-07-06 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (80 votes), past polls