Embperl SEGV's in mod_perl, but not standalone

2000-02-12 Thread glennm
I'm at my wits end here, as I've been hacking at this for a number of days now. As you can guess from the subject line, I've setup Apache on an AIX 4.3.3 box with mod_perl as a DSO. This compiles (with xlc 5.0.0.0) just fine, and I haven't a lick of problems there (thanks to all the patch inf

Re: $r->print delay?

2000-02-12 Thread Ed Loehr
"G.W. Haywood" wrote: > > On Thu, 10 Feb 2000, Ed Loehr wrote: > > > Fairly certain it's waiting there. I cut my debug timestamps out for > > ease on your eyes in my earlier post, but here's one output (of many > > like it) when I had the print sandwiched... > > > > Thu Feb 10 14:41:59.053 2000

Re: Re[2]: END blocks in perl modules

2000-02-12 Thread James G Smith
Ilya Obshadko <[EMAIL PROTECTED]> wrote: >My point was NOT to tie separately in each child, but execute tie() >once during startup. The code of module that is being loaded >from startup.pl looks like this: > >BEGIN { >use IPC::Shareable; >tie %RADDR_CACHE, >'IPC::Shareable', >

Re[2]: END blocks in perl modules

2000-02-12 Thread Ilya Obshadko
Hello James, ñóááîòà, 12 ôåâðàëÿ 2000 ã., you wrote: JGS> What you want to do, I think, is something like the following: JGS> sub tie_keys { JGS> unless(tied %Keys or not defined $IPC::Shareable::VERSION) { JGS> tie(%Keys, 'IPC::Shareable', 'abcd', { # random glue... JGS>

Re: END blocks in perl modules

2000-02-12 Thread James G Smith
Ilya Obshadko <[EMAIL PROTECTED]> wrote: >Hello modperl, > > Yet another mystic thing. I've been messing around with > IPC::Shareable. The purpose was just simple: create shared memory > segment on startup, give access to it for all child processes, > destroy this segment after httpd shutdown.

END blocks in perl modules

2000-02-12 Thread Ilya Obshadko
Hello modperl, Yet another mystic thing. I've been messing around with IPC::Shareable. The purpose was just simple: create shared memory segment on startup, give access to it for all child processes, destroy this segment after httpd shutdown. I've encountered a strange problem with the

Can't upgrade that kind of scalar

2000-02-12 Thread Ed Loehr
Aside from gdb, any fishing tips on how to track this fatal problem down? Can't upgrade that kind of scalar at XXX line NN... Happens intermittently, often on a call to one of these (maybe the first access of $r?): $r->server->server_hostname() $r->connection->remote_ip(

Re: Question about SendFile.pm from Eagle book

2000-02-12 Thread Frank Wiles
On Sat, 12 Feb 2000 [EMAIL PROTECTED] wrote: > As a beginner in Mod_perl, > I have to get the file from the remote host (Mod_perl enabled Apache) > if not in the local host, so I am currently modifying SendFile.pm in Eagle > book > at > > unless(-e $r->finfo) { > ... > instead of givin

Re: Apache::ASP & HTTP's validation model

2000-02-12 Thread Aaron Ross
hi Dmitry! Wouldn't it be great it someone came up with a general solution for this... some kind of logical class from which you could inherit and implement the necessary methods. There was an interesting thread about this problem with Mason. I'm sure it's come up before with ASP. The mod_pe

Question about SendFile.pm from Eagle book

2000-02-12 Thread LSMPX
As a beginner in Mod_perl, I have to get the file from the remote host (Mod_perl enabled Apache) if not in the local host, so I am currently modifying SendFile.pm in Eagle book at > unless(-e $r->finfo) { ... instead of giving the nonexistence error message here get the file from t

RE: Embedded Perl XML Extensions ...

2000-02-12 Thread Gerald Richter
> > The idea is to apply the stylesheet transformations specified by > an XSL document to everything below a node (possibly the root) > of another XML document. For now it looks like the only XSLT > transformer in perl is at: > http://www.sci.kun.nl/sigma/Persoonlijk/egonw/xslt/ > > There are so