#!/usr/bin/perl -w use strict; use HTML::Form; my $html = "
"; if (my $form = HTML::Form->parse($html, "localhost")) { print "Found!\n"; } else { print "Error!\n" };