Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Question about WWW::Mechanize::Firefox

by Anonymous Monk
on Nov 12, 2012 at 11:42 UTC ( #1003424=note: print w/replies, xml ) Need Help??

in reply to Re^2: Question about WWW::Mechanize::Firefox
in thread Question about WWW::Mechanize::Firefox

What does that mean?
  • Comment on Re^3: Question about WWW::Mechanize::Firefox

Replies are listed 'Best First'.
Re^4: Question about WWW::Mechanize::Firefox
by ssj262 (Initiate) on Nov 12, 2012 at 11:51 UTC

    There two "<select multiple" code blocks in the page, and the code above is for them. The code in the page source for those blocks is below: (In this one, I want to select SNP)

    <SELECT MULTIPLE="multiple" NAME="polymorphismType" SIZE="5"> <OPTION value="" selected="selected">ANY</OPTION> <OPTION VALUE='1878510'>SNP</OPTION> <OPTION VALUE='1878511'>IN-DEL</OPTION> <OPTION VALUE='1878512'>Named</OPTION> <OPTION VALUE='1878513'>Mixed</OPTION> <OPTION VALUE='1878514'>MNP</OPTION> </SELECT>

    And in the next one, I want to select "coding-non synonymous"

    <SELECT MULTIPLE="multiple" SIZE="5" NAME="functionClass"> <OPTION value="" selected="selected">ANY</OPTION> <OPTION VALUE='1878486'>Coding-NonSynonymous</OPTION> <OPTION VALUE='1878487'>Coding-Synonymous</OPTION> <OPTION VALUE='1878489'>Intron</OPTION> <OPTION VALUE='1878490'>Locus-Region</OPTION> <OPTION VALUE='1878493'>mRNA-UTR</OPTION> <OPTION VALUE='1878494'>Splice-Site</OPTION> </SELECT>

    So the code for the making the selections is written below, but I don't know if it is right or not

    $variation='polymorphismType'; $varvalue=("1878510"); $func_class='functionClass'; $funcvalue='1878486'; $moz->select($variation,$varvalue); $moz->select($func_class,$funcvalue);


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003424]
[choroba]: Most coffees? Depends on the country :-)
[choroba]: oh, you mean a cup with no water.
[Discipulus]: you are rigth, gory details but i remember from dunnowhere that concetrate caffein is more effective than brown water almost coffe..
[LanX]: prepared both kinds a 100 times and thinks the amount of grind code is about the same
Discipulus less effective i mean
[LanX]: (french press vs espresso cooker )
[LanX]: s/code/coffee/

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-01-16 10:57 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (148 votes). Check out past polls.