You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Scott Chapman <sc...@mischko.com> on 2002/10/11 01:21:38 UTC

exit problems

Hi all!

I'm working with 2.0b8 and trying to get exit working.  I saw some posts about 
exit problems back in 2.0b7 and wondered if it was working more stable in b8?

I try:
exit
Apache::exit
Embperl::exit

Nothing works.
I find reference to Apache::exit in the online docs.
I find reference to Emberl::exit in the README.v2 file.

Not sure which to believe!

Apache::exit runs with no errors at any rate (as does simple exit).
Embperl::exit complains "not allowed while strick subs in use".

Any clues which direction I should head here?

Thanks!
Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: exit problems

Posted by Gerald Richter <ri...@ecos.de>.
>I used Embperl::exit in a Embperl page called under ModPerl and it worked 
>correctly.  Should it?

Yes, exit is just a shortcut for Embperl::exit inside of Embperl pages

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------





---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: exit problems

Posted by Scott Chapman <sc...@mischko.com>.
I used Embperl::exit in a Embperl page called under ModPerl and it worked 
correctly.  Should it?

Scott

On Thursday 10 October 2002 09:50 pm, Gerald Richter wrote:
> >I try:
> >exit
> >Apache::exit
> >Embperl::exit
>
> inside your Embperl pages use exit, outside (e.g. in a Perl module) use
> Embperl::exit
>
> >I find reference to Apache::exit in the online docs.
> >I find reference to Emberl::exit in the README.v2 file.
>
> Always belive README.v2 and not the docs :-)
>
> ...and yes, exit is working correctly with 2.0b8
>
> Gerald
>
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: exit problems

Posted by Gerald Richter <ri...@ecos.de>.
>I try:
>exit
>Apache::exit
>Embperl::exit

inside your Embperl pages use exit, outside (e.g. in a Perl module) use
Embperl::exit

>I find reference to Apache::exit in the online docs.
>I find reference to Emberl::exit in the README.v2 file.

Always belive README.v2 and not the docs :-)

...and yes, exit is working correctly with 2.0b8

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: exit problems

Posted by Scott Chapman <sc...@mischko.com>.
Bad data below.  I have 2.0b5.  Upgrading my dev box then I'll try again!

On Thursday 10 October 2002 04:21 pm, Scott Chapman wrote:
> Hi all!
>
> I'm working with 2.0b8 and trying to get exit working.  I saw some posts
> about exit problems back in 2.0b7 and wondered if it was working more
> stable in b8?
>
> I try:
> exit
> Apache::exit
> Embperl::exit
>
> Nothing works.
> I find reference to Apache::exit in the online docs.
> I find reference to Emberl::exit in the README.v2 file.
>
> Not sure which to believe!
>
> Apache::exit runs with no errors at any rate (as does simple exit).
> Embperl::exit complains "not allowed while strick subs in use".
>
> Any clues which direction I should head here?
>
> Thanks!
> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org