thx for the reply. I had tried that patch, & but the
issue still exists. I've also found another issue
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg34746.html)

I'm porting an mp1 application. I wanted to go as much
as possible & list out the possible issues. After
patching for PerlSection (eval's in distinct
packages), 
moving all PerlPassEnv to the top (see the above link
for my post on this issue), and removing legacy
directives (bug specified in this post), I'm finally
able to start-up my application :-) However, it dies
on a request - I need to debug this further (looks
like
print STDOUT used to work in the past, but now I need
to say $r->print(..) - STDOUT was tied in the past &
not so in mp2 ?). 

I'll post any further issues as I proceed. Currently
we use PerlFreshRestart (works after I did few
patches) so that we need not down our site for
upgrades (know of statINC, but it does stat()'s which
we want to avoid; we have found PerlFreshRestart to be
the best solution so far). Our current motivation for
moving to mp2 is the following statement from the docs
:
"PerlFreshRestart is a mod_perl 1.0 legacy and doesn't
exist in mod_perl 2.0. A full teardown and startup of
interpreters is done on restart. "

thx
Sreeji

 --- "Philippe M. Chiasson" <[EMAIL PROTECTED]> wrote: >
Yeah, this is a known bug. Recursive <Perl >
> sections are currently
> broken. I submitted a patch about this problem a
> while back, but we
> failed to reach concensus on which way was
> _the_right_way_ to solve the
> problem.
> 
> I am planning on revisiting this known bug in the
> near future, so you'll
> have to hold on until then, or maybe give a spin to
> one of the patch I
> posted archived here : 
> 
>
http://marc.theaimsgroup.com/?t=105401041500001&r=1&w=2
> 
> On Wed, 2003-07-09 at 15:56, Sreeji K Das wrote:
> > Following demonstrates the problem:
> > $ cat /tmp/test.conf 
> > <Perl >
> > @Include = "/tmp/test1.conf";
> > </Perl>
> > 
> > Listen 43499
> > 
> > $ cat /tmp/test1.conf 
> > <Perl >
> > $Port = 42480;
> > </Perl>
> > 
> > $ httpd -X -f /tmp/test.conf
> > Syntax error on line 7 of /tmp/test.conf:
> > Use of uninitialized value in subroutine entry at
> >
>
/tmp/CVS/virgin/modperl-2.0/blib/lib/Apache2/Apache/PerlSection.pm
> > line 171.
> > -----------------------------
> > I've confirmed that ap_walk_config() in
> > modperl_config_insert() indeed returns a valid
> error
> > message and this gets propogated to post_config()
> in
> > PerlSection.pm & a dir $errmsg happens. I guess
> this
> > has something to do with the double eval()
> happening.
> > ie. one for Include, and then recursively for
> Port.
> > 
> > I'll debug it further; but it'd be nice if some1
> > already knows the issue and has a solution !
> > 
> > thx
> > Sreeji
> > 
> >
>
________________________________________________________________________
> > Want to chat instantly with your online friends? 
> Get the FREE Yahoo!
> > Messenger http://uk.messenger.yahoo.com/
> > 
> 

> ATTACHMENT part 2 application/pgp-signature
name=signature.asc
 

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

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

Reply via email to