> Greetings to all that is Perl

Howdy

> 
> Is it possible to specify using a cgi script to read and 
> output a Pure HTML file as output.. so that it can process 
> the form data.. 

Do you mean can it output an html form to a browser, process it on submit and return 
html to the browser?

Sure can.

You simply have it print html code:

 print '<html><body><h1>Hello Suckers</h1></body></html>';
You'll also need the proper headers.

I'd say look at the CGI module at search.cpan.org

It will help you greatly in form processing and output:
use warnings;
use strict;
use CGI qw(:standard);

 print header();

 if(param('action') =~ 'process') { print proc(); }
 else { print mainpg(); }

 sub proc {...

 sub mainpg {...

Now if you're talking about reading a file and writing a file that can be done also.

perldoc -f open
perldoc File::Slurp


HTH

DMuey

> 
> and return a specific html file output to be returned at the 
> browser end..
> 
> 
> Thanks
> Sam
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to