Karl Moens (karl.moens@marsh.com) is out of the office.

Karl Moens (karl.moens@marsh.com) is out of the office.

am 14.05.2007 21:02:31 von Karl.Moens

I will be out of the office starting 14/05/2007 and will not return until
21/05/2007.

In case of an emergency, please call our emergency telephone number +32 3
286 64 85.
For urgent matters, please contact one of my colleagues:
Sofie.Cappaert@marsh.com or Vincent.DeBacker@marsh.com or
Tanja.VanDamme@marsh.com

I may be monitoring my e-mail with my Blackberry, but cannot read all types
of attachments.



Thanks and best regards,





Karl MOENS
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

perl_mod

am 15.05.2007 02:17:12 von Mario Sanchez

hello perl gurus

what is the proper way for a perl program to end when used in a apache
configuration w/mod_perl?

use CGI qw(:standard);
use DBI;

these are my only use ...

before mod_perl everything worked fine. servers were upgraded to mod_perl
and all the scripts now seem to maintain values from previous invocations
- even if those variables are re-initialized....

i've tried &Apache::exit - doesnt work. always had exit; as the last line.

i suspect its how i'm exiting - but maybe not.

any help would be greatly greatly appreciated.

thank you


_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: perl_mod

am 15.05.2007 04:38:23 von Foo JH

Mario, (are you one of the Mario bros?)

In modperl, scripts do not terminate once completed. This is for
performance reasons. Even the die() function has been overloaded to
avoid this. As such your global variables will remain initialised at the
start of the next HTTP call.

Take a look at:
http://perl.apache.org/docs/1.0/guide/porting.html

For a list of things to be aware of when porting CGI to modperl. Not
much work, and it's definately worth the effort.


Mario R. Sanchez, Ph.D. wrote:
> hello perl gurus
>
> what is the proper way for a perl program to end when used in a apache
> configuration w/mod_perl?
>
> use CGI qw(:standard);
> use DBI;
>
> these are my only use ...
>
> before mod_perl everything worked fine. servers were upgraded to mod_perl
> and all the scripts now seem to maintain values from previous invocations
> - even if those variables are re-initialized....
>
> i've tried &Apache::exit - doesnt work. always had exit; as the last line.
>
> i suspect its how i'm exiting - but maybe not.
>
> any help would be greatly greatly appreciated.
>
> thank you
>
>
> _______________________________________________
> ActivePerl mailing list
> ActivePerl@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: perl_mod

am 15.05.2007 15:12:05 von Deane.Rothenmaier

This is a multipart message in MIME format.
--===============1553146783==
Content-Type: multipart/alternative;
boundary="=_alternative 004888FC862572DC_="

This is a multipart message in MIME format.
--=_alternative 004888FC862572DC_=
Content-Type: text/plain; charset="us-ascii"

>- even if those variables are re-initialized....

Dunno if this would help, but... have you tried undefining your variables?

undef( $var );

Just a thought.

Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
847-914-5150

Reality is whatever refuses to go away when I stop believing in it. --
Philip K. Dick
--=_alternative 004888FC862572DC_=
Content-Type: text/html; charset="us-ascii"



>- even if those variables are re-initialized....



Dunno if this would help, but... have you tried undefining your variables?



undef( $var );



Just a thought.



Deane Rothenmaier

Programmer/Analyst

Walgreens Corp.

847-914-5150



Reality is whatever refuses to go away when I stop believing in it. -- Philip K. Dick

--=_alternative 004888FC862572DC_=--


--===============1553146783==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1553146783==--