Compiling a package into a namespace

Peter Edwards peter at dragonstaff.com
Sat Apr 12 08:18:50 BST 2008


Simon wrote:
>I'm leaning towards two options
>1) Some cleverness along the lines of the 'namespace' module on CPAN.
>2) Force the user to put a qualifying namespace in.

There's some evilness inside Apache::PerlRun in loading modules inside
aliased namespaces that might work for your option (1). Or run separate
Apache instances per a::Foo and b::Foo.

Regards, Peter
http://perl.dragonstaff.co.uk




More information about the london.pm mailing list