in reply to Re: HTML::Form->Parse (Perl) not working under Fedora Core 1
in thread HTML::Form->Parse (Perl) not working under Fedora Core 1
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' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: HTML::Form->Parse (Perl) not working under Fedora Core 1
by Anonymous Monk on Dec 23, 2003 at 23:06 UTC | |
by Anonymous Monk on Dec 23, 2003 at 23:50 UTC | |
by Anonymous Monk on Dec 24, 2003 at 00:05 UTC | |
by bart (Canon) on Dec 24, 2003 at 00:43 UTC | |
by Anonymous Monk on Dec 23, 2003 at 23:40 UTC |