Re: Is it possible to use "print OUT" to create HTML tags?

2001-05-23 Thread Gerald Richter
> 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

Re: Dynamic Tables NOT not working if using an array that does NOT start with and index of 0 (zero) or uses non sequential integers in the index

2001-05-23 Thread Gerald Richter
> 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

Re: Dynamic Tables NOT not working if using an array that does NOT start with and index of 0 (zero) or uses non sequential integers in the index

2001-05-23 Thread Angus Lees
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,"; > -] > > > [+

Re: Is it possible to use "print OUT" to create HTML tags?

2001-05-23 Thread Andrew O'Brien
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

RE: Is it possible to use "print OUT" to create HTML tags?

2001-05-23 Thread Michael George III
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 use "print OUT" to create HTML tags?

2001-05-23 Thread Michael George III
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

Dynamic Tables NOT not working if using an array that does NOT start with and index of 0 (zero) or uses non sequential integers in the index

2001-05-23 Thread Michael George III
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.

Re: How to save dynamic HTML output to a file after user reviews it?

2001-05-23 Thread Gavin Carr
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,

Re: How to save dynamic HTML output to a file after user reviews it?

2001-05-23 Thread Gavin Carr
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

Sessions with Postgres

2001-05-23 Thread Robert
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 /

How to save dynamic HTML output to a file after user reviews it?

2001-05-23 Thread Scott Chapman
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