Small note:

It would appear that the mailer has stripped out the HTML from the example 
below. It was nothing special - just an html page with the [+ $a +] inside 
a couple of p tags.

At 02:05 AM 08/10/2000 +0100, you wrote:
>Now, I'm sure that I must be doing something really, really dumb, and the 
>problem is staring me in the face, but I've spent ages trying to work it 
>out and would be grateful of assistance! I've read and re-read the 
>documentation, without success.
>
>I have a CGI script:
>
>#! /usr/bin/perl
>
>use CGI;
>use HTML::Embperl;
>
>$q      = new CGI;
>
>$a = "Test";
>$template = "./recipe.html";
>print $q->header(-type=>'text/html');
>HTML::Embperl::Execute($template,$a);
>
>exit;
>
>I also have a template:
>
>[+ $a +]
>
>My assumption is that when I run the above CGI script -
>http://hostname/cgi-bin/test.pl - it will simply display the value of $a,
>yet it does not. All I get is everything else and nothing where "Test"
>should be.
>
>What am I doing wrong?
>
>All the best,
>
>--
>Ian Fenn
>http://www.chopstix.net/ - The award-winning Oriental food and culture site.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Ian Fenn
http://www.chopstix.net/ - The award-winning Oriental food and culture site.


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

Reply via email to