On Mon, Jun 21, 1999 at 02:10:27PM -0500, ken towry wrote: > Can you all help me with this? I just don't get it. > > #!/usr/bin/perl > > require "parsehtm.pl"; > > sub formHandler > { > local($tagString,$argString,$endString,%tagDict) > = @_; > > local($retVal); > > $tagDict{"METHOD"} = "POST"; > $tagDict{"ACTION"} = "form.pl"; > > $retVal = &stringForTagDict(%tagDict); > > return $retVal > } > > $handlerDict{"FORM"} = "formHandler"; > > # UNIX # > # Authors original statement for output to same folder CGI-BIN # > $output = &parseHtml("f2_pl.htm"); > > # My statements to the folder TEST one level up in the main directory # > $htmdir = "/test"; > $htmdir = "../test"; > $htmdir = "/cust/home/a/acc5005/public_html/test"; > > $output = &parseHtml("$htmdir/f2_pl.htm"); > > print "Content-type: text/html\n\n"; > print $output; > > 1; > > When I ececute the script it's supposed to open f2_htm with the parsed > data, but all I get is a blank page, form.pl. Can anyone tell me what I > am doing wronG? > You're not showing us the code in parsehtm.pl. For all we know, that file has an error on line 17. What happens when you run this script from the command line? Ronald ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org