Are early headers required for subrequests?

2001-01-15 Thread Robert Buff
I separated my Perl code into a global file HtmlTools.pm which I include in startup.pl, and per-page code. HtmlTools contains a function f which executes sub f( $ ) { Apache::Include->virtual( shift ); } If f is called from within the per-page code, two sets of headers are sent if optEarlyHt

Can I share my own functions in a safe namespace?

2001-01-15 Thread Robert Buff
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 an