> On Wed, May 23, 2001 at 11:33:20PM -0700, Michael George III wrote:
> > Just in case anyone wants the solution:
> >
> >
> > [- local $escmode=0; print OUT "\ Hello World \"; -]
> >
>
> You don't need "\<" in the string with $escmode=0, "<" is fine.
>
You need the \ if you don't have set opt
> Problem Statement:
> Dynamic Tables are NOT working if using an array that does not start with
> and index of 0 (zero) or uses non sequential integers in the index.
>
As Agnus already pointed out, dynamic tables doesn't iterate over an Array
(it wouldn't be nearly impossible to dterminate which
On Wed, May 23, 2001 at 10:52:50PM -0700, Michael George III wrote:
> Dynamic Tables are NOT working if using an array that does not start with
> and index of 0 (zero) or uses non sequential integers in the index.
>
>
> [- @v[0] = "hello,";
>@v[2] = "world,";
> -]
>
>
> [+
On Wed, May 23, 2001 at 11:33:20PM -0700, Michael George III wrote:
> Just in case anyone wants the solution:
>
>
> [- local $escmode=0; print OUT "\ Hello World \"; -]
>
You don't need "\<" in the string with $escmode=0, "<" is fine.
--
Andrew O'Brien
[EMAIL PROTECTED]
http://www.switc
Just in case anyone wants the solution:
[- local $escmode=0; print OUT "\ Hello World \"; -]
which came courtesy "Andrew O'Brien".
Thanks again!
-Original Message-
From: Michael George III [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 11:07 PM
To: [EMAIL PROTECTED]
Subjec
Is it possible to convert use "print OUT" to generate HTML tags?
Embperl Example:
[+ "Hello World" +]
Failed print OUT Examples:
[- print OUT " Hello World "; -]
Comment: HTML tags get stripped.
[- print OUT "\ Hello World \"; -]
Comment: Escaping the '<' causes tag to
Problem Statement:
Dynamic Tables are NOT working if using an array that does not start with
and index of 0 (zero) or uses non sequential integers in the index.
Example:
You would expect this code to produce a 1x2 table, with "hello," in row 1
and "world," in row2. However, row 2 does not print.
On Thu, May 24, 2001 at 11:12:24AM +1000, Gavin Carr wrote:
> [- Execute({ inputfile => 'dynamic.ehtml', output => $output,
> param => [ 'R' ] }); -]
Whoops, output should be a reference:
[- Execute({ inputfile => 'dynamic.ehtml', output => \$output,
param => [ 'R' ] }); -]
Cheers,
Hi Scott,
If it's an embperl page that's producing your dynamic output, one method
would be something like this:
dynamic.ehtml - dynamic page
review.ehtml - review page
--dynamic.ehtml:
[- $review = shift @param -]
[$ if ($review ne 'R') $][$ endif $]
[# Body content goes here. #]
[$ if
Hi,
sorry for crossposting. I'd like to use Apache::Session with Postgres
as a backend (from HTML::Embperl if possible), but I'm still having
problems. People on these lists complain from time to time that they
have problems with this combination but searching archives don't give
many advices /
I have a situation where I want Embperl to show a user a HTML
document that is dynamically generated and have the user hit a
submit button.
At that point, I want Embperl to save the HTML document to a file.
An alternate method would be to output the HTML to a file at the
same time as the bro
11 matches
Mail list logo