in reply to Re: Re: How to get a local form to be 'clicked'?
in thread How to get a local form to be 'clicked'?
Second, them HTML::Form documentation is not very clear on exactly what should be passed to HTML::Form->parse(), but a little browsing in the source gives me this working code:
Where the first argument to parse() is the typeglob that contains the filehandle of the HTML file, and the second argument is the base url, which is needed to resolve relative urls in the form.open HTML,"<./index.html" or die $!; my @forms = HTML::Form->parse(*HTML,'http://localhost/'); close HTML;
Hope this helps :-)
-- Joost downtime n. The period during which a system is error-free and immune from user input.
|
|---|