However, as I expected, adding this code yields the following behavior:
1. On the Fedora Core 1 system running perl 5.8.1:
$VAR1 = undef;
2. On my old RH8 system running perl 5.8.0:
So again, for some reason the same code that parses the form properly under RH8.0/perl 5.8.0 is not parsing the form properly under Fedora Core/perl 5.8.1. Note that under both systems, I have no trouble just getting the html source -- the problem appears to only be with forms (also this problem happens on all websites -- google of course is just an example...)$VAR1 = bless( { 'extra_attr' => { 'name' => 'f' }, 'enctype' => 'application/x-www-form-urlencoded', 'action' => bless( do{\(my $o = 'http://www.google.co +m/search')}, 'URI::http' ), 'method' => 'GET', 'inputs' => [ bless( { 'value' => 'en', 'name' => 'hl', 'type' => 'hidden' }, 'HTML::Form::TextInput' ), bless( { 'value' => 'ISO-8859-1', 'name' => 'ie', 'type' => 'hidden' }, 'HTML::Form::TextInput' ), bless( { 'maxlength' => '256', 'value' => '', 'name' => 'q', 'type' => 'text', 'size' => '55' }, 'HTML::Form::TextInput' ), bless( { 'value' => 'Google Search', 'name' => 'btnG', 'type' => 'submit' }, 'HTML::Form::SubmitInput' ), bless( { 'value' => 'I\'m Feeling Lucky +', 'name' => 'btnI', 'type' => 'submit' }, 'HTML::Form::SubmitInput' ) ] }, 'HTML::Form' );
In reply to Re: Re: HTML::Form->Parse (Perl) not working under Fedora Core 1
by Anonymous Monk
in thread HTML::Form->Parse (Perl) not working under Fedora Core 1
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |