Randy W. Sims wrote:
>
> Thanks Rob. Unfortunately that didn't work. Dumper shows:
>
> $VAR1 = \bless( {
> 'value_name' => '���Status: Disconnected �',
> 'value' => '0',
> 'type' => 'hidden',
> 'name' => 'pppoeAct'
> }, 'HTML::Form::TextInput' );
>
> I did what I always do when I can't figure the documentation out: I read
> the code. It looks like there is no way to get at the value stored in
> 'value_name'. (bug?)
'value_name' must be an internal value then? I assumed what you wanted was
the 'name' attribute on the input tag. I would have to look at the code
myself to fathom any more, and I have to be in the mood for that :)
> Anyway, I don't think any of this is going to work for me. I was testing
> this code on one type of Linksys DSL router, but the one I was going to
> implement on is a different model that generates the form dynamically
> with javascript. It doesn't apper that that WWW::Mechanize will work
> with that.
I don't see why not straight away. The HTML client shouldn't care how the form's
been generated. You could always try hand-rolling it with LWP, HTML::TokeParser,
HTML::TreeBuilder, URI::URL etc.
> I think I'll just do what I should have done to begin with: Call my ISP
> and bitch at them for bumping my connection so often, especially since I
> paid extra for a static IP.
That sounds much more like the right solution. Good luck.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>