2. After clicking enter it should call ex.cgi:<!DOCTYPE html> <html> <head> <title>Title</title> </head> <body> <form name="MyForm" action="/cgi-bin/ex.cgi",method="post",id="f1"> <input type="text" name="textfield"> </form> </body> </html>
When I try it this way , the page shows me : " HTML::Extract=HASH(0x557e1ad591e0)->gethtml('http://192.168.0.104/' ,tagname=body,returntype=text)" I've tried without quotes and without generating a page but then it only shows that it can't be found (error 500); Where is my mistake . Please advice me !#!/usr/bin/perl use strict; use warnings; use HTML::Extract; my $extractor=new HTML::Extract; print "Content-type: text/html\n\n"; print "<html><body>\n"; print"$extractor->gethtml('http://192.168.0.104/' ,tagname=body,return +type=text)<p1>"; print"</html></body>";
In reply to Re: Proper use of HTML::Form for exctracting
by bachoA4o
in thread Proper use of HTML::Form for exctracting
by bachoA4o
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |