Re: problem solved, but still weird!

2001-04-07 Thread Marcus R. Popetz
At 01:29 PM 4/7/01, Steven D. Arnold wrote: >Hey folks, > >Well, my script seems to be running correctly now, but I don't understand why. > >I added 8192 to the debug value so I could get the in-browser links to the >debugging information. I also created an EMBPERL_VIRTLOG entry. I then >stopp

Re: development?

2001-04-07 Thread Marcus R. Popetz
I believe, if your packages are included in @INC, when their mod times change, mod_perl will reload them. You probably need a perl script executed at apache startup that adds them into the parent processes copy of @INC. -mp At 12:52 PM 4/7/01, Kee Hinckley wrote: >-BEGIN PGP SIGNED MESSA

Re: Using Lingua::Ispell in Embperl

2001-03-09 Thread Marcus R. Popetz
At 09:38 AM 3/9/01, Neil Gunton wrote: >And when I run this code, each time I get another zombie process: >(output from ps -aux) > >nobody2296 0.0 0.0 0 0 ? Z11:50 0:00 [aspell ] >nobody2351 1.8 0.0 0 0 ? Z12:32 0:00 [aspell ] I don't know about the code failing, b

url escaping with $escmode = 2.

2001-03-05 Thread Marcus R. Popetz
$escmode = 2 (or 6) The result of a Perl expression is always URL-escaped (e.g., `&' becomes `%26'). Is what the docs say. My question is how to define 'perl expression': Should this result in $message being url escaped? [- local $escmode = 2; my $message = "A Message With Spaces"; $http_heade

RE: problem with subroutines caching values of variables

2001-03-01 Thread Marcus R. Popetz
At 07:32 AM 3/1/01, Jonny Cavell wrote: >I thought that by being declared inside [- -], the subroutine would be >recompiled on every request, thus losing any reference to @fields. > >Jonny I don't think it recompiles anything unless mtime has changed. Turn on dbgShowCleanup to see for sure... -m

Re: Stop processing script upon die

2001-02-28 Thread Marcus R. Popetz
Yep. That does it. Thanks. -mp ps. If the powers-that-be have a slightly less verbose way to stop processing from within a child script, if you could let the list know, that would be cool. At 10:25 AM 2/28/01, Neil Gunton wrote: > > My login testing occurs from within an .epl page that is

Re: Stop processing script upon die

2001-02-28 Thread Marcus R. Popetz
As an additional comment: I poked around in the source and exit appears to be using structures from mod_perl, I'm unable to run under mod_perl due to memory constraints. /* from mod_perl's perl_util.c */ struct ufuncs umg; -mp At 10:01 AM 2/28/01, Marcus R. Popetz

Re: Stop processing script upon die

2001-02-28 Thread Marcus R. Popetz
I originally responded to Neil saying that I was having buffering IO problems when trying this method but I must be working too much...because that was wrong. I wasn't seeing any output from Embperl which led me to believe that when I was exiting, the contents of http_headers_out were not get

Stop processing script upon die

2001-02-27 Thread Marcus R. Popetz
Hello all. I have been trying to get Embperl to stop further processing of my scripts when I detect an error. Anyone had any luck getting this to work? I've tried to: die "random error message here"; but Embperl just saves up the error messages to be delivered at a later date. What I'm trying