in reply to Re: Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajax
in thread Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajax
Hi I like this example,
is there any way to have both the HTML and cgi code in one file. For example have the script generate both the html and ajax call? I tried doing it but got stuck when I try but got stuck at the example where it outputs the data,
$tt->process('simple.tmpl', \%data); I tried replacing simple.tmpl with simple.cgi but it did not work.
thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajax
by Your Mother (Archbishop) on Mar 26, 2014 at 00:25 UTC | |
Re^3: Simple example of CGI (Perl) + HTML + CSS + Javascript/jQuery + Ajax
by Anonymous Monk on Mar 26, 2014 at 00:10 UTC |
In Section
Cool Uses for Perl