Perl snippet question:

---------------------------------------------
#!/usr/bin/perl -w

use strict;
use CGI;
use CGI::Carp 'fatalsToBrowser';


my $new_page = new CGI("");
sub HTMLendFORM ($) {
    my $new_page = $_[0];
    print $new_page->end_form;
}


HTMLendFORM ($new_page);

print "\n\n";

---------------------------------------------

This above code produces "<div></div></form>". This ti me is odd, since i only really want </form>. Does anyone have an explanation or another way to use the CGI.pm library and produce only </form>. Yes I could just use a print statement. But I am kind of curious to why?
--

Michael Barto
Software Architect

LogiQwest Circle
LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

    [EMAIL PROTECTED]
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

'tis a gift to be simple
This e-mail may contain LogiQwest proprietary information and should be treated as confidential.

Reply via email to