Re: custom error handling in CGI mode

2000-08-07 Thread Gerald Richter
> I looked in the docs and found a reference to a runtime option that allowed > mod_perl to redirect to a custom error page, but didn't notice any mention > of how to do that in the CGI version... > > How is the best way to implement an overall error page that override's > Embperl's and shows up

Re: undocumented feature?

2000-08-07 Thread Gerald Richter
> > BTW, I was reading through that section once you pointed it out. With this > example, > ---Quote--- > Select Tag > > > If you request this document with list.htm?SEL1=x > you can specify that the element which has a value > of x is initially selected > > > > > [+ $k[$ro

custom error handling in CGI mode

2000-08-07 Thread Jon Brisbin
I looked in the docs and found a reference to a runtime option that allowed mod_perl to redirect to a custom error page, but didn't notice any mention of how to do that in the CGI version... How is the best way to implement an overall error page that override's Embperl's and shows up for even th

Re: embperl with stack handlers ?

2000-08-07 Thread mtoro
At 09:53 PM 8/7/2000 +0200, Gerald Richter wrote: >  How can pass the post data to next handler without >problems to next handler ? One solution would be to put them in a global or in $r -> pnotes and get them from there in your page. Addionaly set optDisableFormData = 256 so Embperl wil

Re: embperl with stack handlers ?

2000-08-07 Thread Gerald Richter
> How can pass the post data to next handler without >problems to next handler ? One solution would be to put them in a global or in $r -> pnotes and get them from there in your page. Addionaly set optDisableFormData = 256 so Embperl will not reread the formdata. You also may setup the

Re: undocumented feature?

2000-08-07 Thread Gerald Richter
> I noticed a functionality of Embperl just now that I wasn't aware of. My > code looks more or less like this: > > $fdat{uid} = 113; > > > resulting in this HTML source: > > > > I went back and checked the %fdat docs, but couldn't find any mention of > this behavior. Should it be in there, or w

Re: Execute for importing subs

2000-08-07 Thread Gerald Richter
hi, > > my little question is: once I've used Execute to importe a set of subs > (from an Embperl page with [$sub$] tags) into the current namespace, do > these subs get cleaned up or do they persist? > > I read the man pages through adn through and could not find any hint. > sub's are never

Re: multiple records from a textarea

2000-08-07 Thread Gerald Richter
> that did it! :-) i just needed the "\r"...what's that character?? > it's called "carridge return" Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting

Re: Troubles

2000-08-07 Thread Gerald Richter
> I got EMbperl to compile. It when I did make test, everything went great. > OK's down the line. I set up apache with: > > > SetHandler perl-script > PerlHandler HTML::Embperl > > > This is what apache says: > > > [10843]ERR: 25: Line 1: Error > [Sat Aug 5 16:10:00 2000] [notice] Apache/1.3.9

Re: strange embperl behavior

2000-08-07 Thread Gerald Richter
> > > Try this page: > > > http://www.secure-encrypted.net/bowenwhite/orders/index.ehtml > > > > > > > 404 NOT_FOUND > > I was messing with the config after I sent that, so that link works now...I > think I've fixed the problem though... > Yes, but it get's an internal server error. Something wit

undocumented feature?

2000-08-07 Thread Jack Cushman
I noticed a functionality of Embperl just now that I wasn't aware of. My code looks more or less like this: $fdat{uid} = 113; resulting in this HTML source: I went back and checked the %fdat docs, but couldn't find any mention of this behavior. Should it be in there, or what? Thanks, Jack C

Execute for importing subs

2000-08-07 Thread martin langhoff
hi, my little question is: once I've used Execute to importe a set of subs (from an Embperl page with [$sub$] tags) into the current namespace, do these subs get cleaned up or do they persist? I read the man pages through adn through and could not find any hint. TIA m

Re: multiple records from a textarea

2000-08-07 Thread Jon Brisbin
that did it! :-) i just needed the "\r"...what's that character?? Jon Brisbin - Original Message - From: Sherwin Daganato <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, August 07, 2000 4:30 AM Subject: Re: multiple records from a textarea > how about...

Re: multiple records from a textarea

2000-08-07 Thread Sherwin Daganato
how about... [$ foreach $n ( split(/\r\n/, $fdat{items}) ) $] do something with $n... [$ endforeach $] sherwin [EMAIL PROTECTED] writes: >How would be the best way to use DBIx::Recordset to insert multiple >records >of data like such: > >I have a textarea that will contain a list of items, one