I include a module X.pm in Apache's startup.pl, which has a public
function f. I share this public function with Embperl by calling

my $cp = HTML::Embperl::AddCompartment( 'SafeCompartment' );
$cp->share_from( 'X', [ 'f' ] );

after HTML::Embperl has been loaded. When I define optSafeNameSpace and
optOpcodeMask in httpd.conf, however, f is not known to Perl code in
documents.

The Embperl documentation says that only opcode masks are used from safe
compartments. Is there a way to selectively share external variables in
Embperl documents, while still having a safe namespace?

Thanks,
Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to