RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
"last stable" version) with no problems. exists doesn't do what you think, that's the list of problems. -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1-4313-3131 66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139 75013 PARIS.

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
h accessor functions. That'll be nice and fast won't it. -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1-4313-3131 66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139 75013 PARIS.

RE: pseudo-hashes? was: Data structure question

2001-01-23 Thread John Hughes
. Hashes aren't slow. But they are *BIG*. -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1-4313-3131 66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139 75013 PARIS.

RE: pre-loaded modules on Solaris

2000-11-10 Thread John Hughes
esn't get modified after it's loaded, so it'll stay "shared". -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1-4313-3131 66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139 75013 PARIS.

$r-print and references: Was RE: Slightly OT - Content-length

2000-06-19 Thread John Hughes
; $r-print \$x; (Hint - Perl passes all values by reference. The point $r-print doing an auto-dereference is supposed to be to let you pass a reference around in *your* code. Personaly I don't think this was a good idea. If that's what the user wanted he could have done it himself). --

RE: $r-print and references: Was RE: Slightly OT - Content-length

2000-06-19 Thread John Hughes
$r-print ($arg); } But note the copy is not in the argument passing, it's in the Perl code. sub fast_but_ugly { $_[0]-print ($_[1]); } -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1-4313-3131 66 rue du Moulin de la Pointe, Fax: +33-1-4313-3139 75013 PARIS.

Suggested improvements to RegistryLoader.pm - stuff for virtual hosts

2000-01-19 Thread John Hughes
It would be nice if RegistryLoader.pm let me load a script for a virtual host in such a way that I didn't have to worry about how they were represented. Something like: my $r = Apache::RegistryLoader-new; $r-handler($uri, $filename, $virthost); How about this. -- John Hughes

RE: mod_perl bug (mod_perl 1.21; Apache 1.3.9).

2000-01-19 Thread John Hughes
char *root) { ... if(r-server-is_virtual ApachePerlRun_name_with_virtualhost()) { uri = pstrcat(r-pool, r-server-server_hostname, uri, NULL); uri_len += strlen(r-server-server_hostname); } -- John Hughes [EMAIL PROTECTED], CalvaEDI SA.Tel: +33-1