RE: Best Token Char For Template

2003-10-11 Thread Jonathan E. Hogue
Use a module... My favorite is HTML::Template, but there are plenty. See http://search.cpan.org/~samtregar/HTML-Template-2.6/Template.pm First Name: Last Name: #!/usr/bin/perl -w use HTML::Template; # open the html template my $template = HTML::Template->new(filename => 'mytemplate.tmpl'

Weekly list FAQ posting

2003-10-11 Thread casey
NAME beginners-faq - FAQ for the beginners-cgi mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email addres

Re: CGI Scripts

2003-10-11 Thread Phillip Bruce
Wiggins d'Anconia wrote: Phillip Bruce wrote: Wiggins d'Anconia wrote: Thanks for the suggestions. Now I get totally different error. I ran this on the command line and get following: % ./survey.cgi Content-type: text/html Substitution replacement not terminated at ./survey.cgi line 37. Her

Re: CGI Scripts

2003-10-11 Thread Wiggins d'Anconia
Phillip Bruce wrote: Wiggins d'Anconia wrote: Well, I'm using perl 5.8 and I'm now getting these error messages. The errors you are getting now are because of the stricture. You have to declare the scope of all of your variables (among other things). perldoc strict For more info W

Re: CGI Scripts

2003-10-11 Thread Phillip Bruce
Wiggins d'Anconia wrote: In the following line you need a 'my' to give the variable scope $mail = Mail::Internet->new(Header => $head, Body => [$body], Modify => 1); Ok, I did that and now I'm getting this error ./survey.cgi Content-