Re: Nested Interpolation

2006-03-31 Thread Steve Thames
05:41:32 -0800, Steve Thames <[EMAIL PROTECTED]> wrote: >Consider this: > > my %names = (Bob => 'Robert Brower'); > my $caption = 'Name: $names{Bob)'; > print eval "qq|$caption|"; > >If you can't see it, there is

Re: Nested Interpolation

2006-03-31 Thread Steve Thames
On Fri, 31 Mar 2006 16:33:56 +0200, [EMAIL PROTECTED] (Tomas Zerolo) wrote: >On Fri, Mar 31, 2006 at 05:41:32AM -0800, Steve Thames wrote: >> Consider this: >> >> my %names = (Bob => 'Robert Brower'); >> my $caption = 'Name: $

Re: Nested Interpolation

2006-03-31 Thread Steve Thames
On Fri, 31 Mar 2006 08:48:20 -0500, Michael Peters <[EMAIL PROTECTED]> wrote: > > >Steve Thames wrote: >> Consider this: >> >> my %names = (Bob => 'Robert Brower'); >> my $caption = 'Name: $names{Bob)'; >> print

Die Handler

2006-03-31 Thread Steve Thames
In testing my mod_perl application, I would like to set up a die handler that will return the fatal errors I am getting to a custom "Server Error 500" page as well as write them to the log file. I am considering using Error.pm. Does anyone have any suggestions?

Nested Interpolation

2006-03-31 Thread Steve Thames
Consider this: my %names = (Bob => 'Robert Brower'); my $caption = 'Name: $names{Bob)'; print eval "qq|$caption|"; If you can't see it, there is a syntax error in $caption: closing paren ) instead of brace }. The eval will produce no $@ and will return the empty string.

Re: Apache::DB - What am I doing wrong?

2006-03-06 Thread Steve Thames
Yeah, it turns out it works using the fixup handler. Odd thing is, it works in the Init handler if I am debugging perl-status--just not anything else.

Apache::DB - What am I doing wrong?

2006-03-05 Thread Steve Thames
Can anyone tell me why I can't get Apache::DB to work with the following config? In the PERLDB block, if I change the Location to '/perl-status', the debugger activates fine. However, when its set to '/pa/session', I never see the debugger. I just see the output from the response handler in the