For some unknown reasons the site that I want to post isn't posted. But I dont figure out why. Thank you for any advice.
my $url = URI->new("http://rna.tbi.univie.ac.at/cgi-bin/RNAfold.cgi");
$mech->get($url);
if($mech->success())
{
$mech->form_number(1);
$mech->set_fields(
name => "$names[$num]",
Sequence => "$lines[$num]",
pffold => "pf",
Params => "RNA",
Temp => "37",
email => 'KaiAllard@web.de'
);
$mech->untick(toggles => "-4");
$mech->untick(toggles => "-d");
$mech->tick(toggles => "-noCloseGU");
$mech->tick(toggles => "-noLP");
$mech->untick(plot => "on");
$mech->untick(SVG => "on");
$mech->untick(SSview => "on");
$mech->click_button(value => "Fold it");
if($mech->success())
{ ... do something
At this point I just get the original page but not the following page that I want to reach. I dont get any warning or something... But it seams that I dont post the page. There is only one case that the real page does return to its original: no "Sequence"...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.