in reply to Re: WWW::Mechanize :firefox 'select' method
in thread WWW::Mechanize :firefox 'select' method

yesss.. it is a valid species in the list.problem that code is showing that "input species not found".The select box is under javascript " that is why I think it is showing problem.So i have used mechanize::firefox module .But the same error is coming?
  • Comment on Re^2: WWW::Mechanize :firefox 'select' method

Replies are listed 'Best First'.
Re^3: WWW::Mechanize :firefox 'select' method
by ww (Archbishop) on Sep 12, 2013 at 13:20 UTC
    No, it isn't "a valid species in the list."

    In the selection box what appears to be your target appears only as 'Saccharomyces cerevisiae' which is NOT the same thing (to the computer) as the 'S. cerevisiae' in your code.

      yesss....you are right..thanx!!!
        <option style="color:black;" value=884 >Bacillus anthracis (Strain: Ames Ancestor) MicroCyc</option>
        I have to ask my $species = "Bacillus anthracis(Strain:Ames Ancestor)MicroCyc"; $mech->field( 'species', $species); in the page source code value =884 is given.But in display Bacillus anthracis(Strain:Ames Ancestor)MicroCyc is coming so I have to write 884 or Bacillus anthracis(Strain:Ames Ancestor)MicroCyc in my perl programme?