I think this was reported a few month's ago (check the archive thread -
"registry script executes twice" or something like that)

anyway, check to make sure that you are preloading Apache::Registry with a
PerlModule directive - it doesn't really fix the problem, but it does kinda
mask it and make things appear to work right.  After that your package names
should match.

I'm not sure of the status of the bug fix, though...

--Geoff

> -----Original Message-----
> From: Heinrich Mislik [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, December 06, 1999 6:19 AM
> To:   [EMAIL PROTECTED]
> Subject:      Apache::Registry Bug ?
> 
> This happens with Apache::Registry 2.01:
> 
> The variable $Apache::Registry::NameWithVirtualHost changes 
> from 1 to 0 after the first request after server start. As a 
> result, the namespace changes. Among other things, this breakes 
> "require".
> 
> Script for demo:
> 
> ---------------------
> #!/bin/perl -w
> use CGI qw(:standard);
> print header('text/plain');
> print "$Apache::Registry::NameWithVirtualHost\n";
> print *x{PACKAGE};
> ----------------------
> Results in:
> 
> 1
> Apache::ROOTBVZR_2ebibvb_2eac_2eat::zsvs::perl::test_2epl
> 
> But after reload:
> 
> 0
> Apache::ROOT::zsvs::perl::test_2epl
> 
> Greetings 
> 
> Heinrich Mislik
> 
> 
> --
> Heinrich Mislik
> Arbeitsgruppe Bibliotheksautomation
> email: [EMAIL PROTECTED]        Tel.: +43 512 507 8754

Reply via email to