Re: namespace problem

2004-01-15 Thread Gerald Richter
> The behaviour I hoped for > was that calling SomeModule::function_that_calls_exit() will behave > the same as calling exit() directly. > Yes, that should be the case. If not that's a bug in Embperl. Gerald -- Gerald Richter ecos e

Re: namespace problem

2004-01-15 Thread Torsten Luettgert
On Don, 2004-01-15 at 10:42, Gerald Richter wrote: > > It works, too, IF the method containing exit() is called from > > the "top level page", meaning, not from a page called by Execute() > > from another page. > > > > Yes, that is like exit always work in Embperl. It only exits the current > comp

Re: namespace problem

2004-01-15 Thread Gerald Richter
> It works, too, IF the method containing exit() is called from > the "top level page", meaning, not from a page called by Execute() > from another page. > Yes, that is like exit always work in Embperl. It only exits the current component, since 2.0b8 you can also exit the whole request, by giving

Re: namespace problem

2004-01-14 Thread Torsten Luettgert
On Mit, 2004-01-14 at 16:03, Gerald Richter wrote: > >>> [Mon Jan 12 17:56:44 2004] [error] [6785]ERR: 24: Error in Perl > >>> code: Undefined subroutine &ModPerl::Util::exit called at > >>> /home/tema/tema/TEMA.pm line 458. > So try to put a > > use ModPerl::Util ; > > in your module, that sho

Re: namespace problem

2004-01-14 Thread Gerald Richter
Torsten Luettgert wrote: > On Die, 2004-01-13 at 20:40, Gerald Richter wrote: >>> >>> [Mon Jan 12 17:56:44 2004] [error] [6785]ERR: 24: Error in Perl >>> code: Undefined subroutine &ModPerl::Util::exit called at >>> /home/tema/tema/TEMA.pm line 458. >>> >> >> Do you use mod_perl? If yes, which ve

Re: namespace problem

2004-01-14 Thread Torsten Luettgert
On Die, 2004-01-13 at 20:40, Gerald Richter wrote: > > > > [Mon Jan 12 17:56:44 2004] [error] [6785]ERR: 24: Error in Perl > > code: Undefined subroutine &ModPerl::Util::exit called at > > /home/tema/tema/TEMA.pm line 458. > > > > Do you use mod_perl? If yes, which version 1.x or 2.x? Yes, I us

Re: namespace problem

2004-01-13 Thread Gerald Richter
> > [Mon Jan 12 17:56:44 2004] [error] [6785]ERR: 24: Error in Perl > code: Undefined subroutine &ModPerl::Util::exit called at > /home/tema/tema/TEMA.pm line 458. > Do you use mod_perl? If yes, which version 1.x or 2.x? Gerald -- Ger