[ A while ago I commented on the same question in beginners-cgi, without
knowing about the discussion here. Please do not multi-post!!
http://lipas.uwasa.fi/~ts/http/crospost.html ]
Jeff Pang wrote:
Yes that's fine.
I think when we say 'use Apache qw/exit/' in modperl scripts,it may
do the same things as you mentioned -- modify the typeglob directly
-- but I'm not so sure.
In addition to all the other replies, and if die() in mod_perl is your
actual concern, please read
http://perl.apache.org/docs/1.0/guide/porting.html#die___and_mod_perl
exit(), OTOH, is a mod_perl issue that needs to be addressed in older
(pre 5.6) Perl versions.
http://perl.apache.org/docs/1.0/guide/porting.html#Terminating_requests_and_processes__the_exit___and_child_terminate___functions
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/