Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Stas Bekman
Barrie Slaymaker wrote: > On Mon, Oct 22, 2001 at 10:46:04PM +0800, Stas Bekman wrote: > >>It works for me: >> >>my $package = << 'END'; >>package Foo ; >> >>enter: >>print "entered\n" ; >> >>sub handler { goto enter } >> >>1 ; >>END >> >>eval $package; >>Foo::handler; >> >>p

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Barrie Slaymaker
On Mon, Oct 22, 2001 at 10:46:04PM +0800, Stas Bekman wrote: > > It works for me: > > my $package = << 'END'; > package Foo ; > > enter: > print "entered\n" ; > > sub handler { goto enter } > > 1 ; > END > > eval $package; > Foo::handler; > > prints: > > entered It sho

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Stas Bekman
Barrie Slaymaker wrote: > On Mon, Oct 22, 2001 at 08:33:49AM -, [EMAIL PROTECTED] wrote: > >> >> +- the closure issue: >> + there was a suggestion from raptor to use goto() to leave the code >> + unwrapped in the sub handler, which will solve the closure problem, >> + but the probl

Re: cvs commit: modperl-2.0/ModPerl-Registry TODO

2001-10-22 Thread Barrie Slaymaker
On Mon, Oct 22, 2001 at 08:33:49AM -, [EMAIL PROTECTED] wrote: > > +- the closure issue: > + there was a suggestion from raptor to use goto() to leave the code > + unwrapped in the sub handler, which will solve the closure problem, > + but the problem is that once you leave a su