Re: Emperl refresh

2002-09-10 Thread Gerald Richter
>Is there a way to redirect a page with embperl, similar html meta tag refresh >method (). > >PHP has the following method: >$redirectionvar = "index.php"; >header("Location: $redirectionvar"); >?> > >Is there a serverside way to do this in embperl? There are sveral ways. The easiest is [- $http

Emperl refresh

2002-09-10 Thread Gerardo Schimpf
Is there a way to redirect a page with embperl, similar html meta tag refresh method (). PHP has the following method: Is there a serverside way to do this in embperl? Thank you. Gerardo - To unsubscribe, e-mail: [EMAI

Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> > I also do not understand why your whitespace is being removed, but > > perhaps the above will help (sorry - untested). > > > > Only optKeepSpaces helps > > Gerald And, as promised, it did help. Danke! Charlie Hills CreditMinders Development Team 512.263.7003 x223 -

Re: Question about preserving whitespace...

2002-09-10 Thread Gerald Richter
> > I even tried tossing in a [- print "\n" -] statement, to no avail! > > did you try to print to the 'OUT' filehandle? > [- print OUT "\n" -] > print to OUT does excatly the same as [+ +] > I also do not understand why your whitespace is being removed, but > perhaps the above will help (sor

Re: Question about preserving whitespace...

2002-09-10 Thread Cameron McBride
> I even tried tossing in a [- print "\n" -] statement, to no avail! did you try to print to the 'OUT' filehandle? [- print OUT "\n" -] I also do not understand why your whitespace is being removed, but perhaps the above will help (sorry - untested). Cameron --

Re: Apache::ImageMagick and Exception 410: Invalid attribute (text)

2002-09-10 Thread Gerald Richter
Hello, > > > Original thread for reference: > http://www.mail-archive.com/embperl@perl.apache.org/msg04338.html > > Did Jaak ever find out what fixed this error? > I seems that more people haveing this problem, but I didn't came around and find some free time so far to install a new version of Im

Re: DBIx and aliases

2002-09-10 Thread Gerald Richter
> > Is it true that DBIx::Recordset doesn't support table and column aliases ? > > SELECT cu.type AS custtype FROM customer cu; > I works for fields: DBIx::Recordset -> Search ({'!DataSource' => $db, '!Table' => 'customer',

Re: Question about preserving whitespace...

2002-09-10 Thread Gerald Richter
> We're using embperl to generate dynamic email messages, but I'm having trouble > getting whitespace preserved between conditional statements. e.g.: > Pass optKeepSpaces in options e.g. Execute ({inputfile => xxx, options => HTML::Embperl::optKeepSpaces}) or set it in EMBPERL_OPTIONS. Embperl

Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> Regarding whitespace it's always a good idea to review the 'Inside > Embperl' part of the documentation, summarized for 1.3.4 at: > > http://perl.apache.org/embperl/pod/doc/doc13/HTML/Embperl.-page-12-.htm > > but I don't know why it wouldn't leave that space inbetween tags alone > either.. Aye

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
On Tue, Sep 10, 2002 at 10:39:46AM -0500, Charlie Hills wrote: > Except it's not generating HTML, but the text for a plain text email. So the Ah, I had missed the email part. If that's the case I guess we need some more context to understand why it's not leaving that space in. Are you using HTM

Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> Realize that that is only making a hard break in the html document that > then gets parsed by the browser.. HTML doesn't recognize whitespace in > the document itself without a (preformatted) tag. So you could do > one of two things: > > [$ if (blah) $] text1 > [$ endif $] > > [$ if (blah

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
On Tue, Sep 10, 2002 at 10:19:51AM -0500, Charlie Hills wrote: > [$ if (this) $] * some text > [$ endif $] > > [$ if (that) $] * some other text > [$ endif $] > I even tried tossing in a [- print "\n" -] statement, to no avail! Realize that that is only making a hard break in the html document

Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
We're using embperl to generate dynamic email messages, but I'm having trouble getting whitespace preserved between conditional statements. e.g.: [$ if (this) $] * some text [$ endif $] [$ if (that) $] * some other text [$ endif $] produces: * some text * some other text and not: * some t

Apache::ImageMagick and Exception 410: Invalid attribute (text)

2002-09-10 Thread Imago
Hello, Original thread for reference: http://www.mail-archive.com/embperl@perl.apache.org/msg04338.html Did Jaak ever find out what fixed this error? Getting the same thing. I have e-mailed the below detailing my problem to the ImageMagick mailing list with no reply - I'm running a Sun Cobal

DBIx and aliases

2002-09-10 Thread Kaare Rasmussen
Hi Is it true that DBIx::Recordset doesn't support table and column aliases ? SELECT cu.type AS custtype FROM customer cu; I have 2½ problems with this: 1. I have to shuffle around in the resulting hash to get the names right. If he same name occurs twice, I have to use FullNames, and the