-----Original Message-----
>From: Paul Lalli <[EMAIL PROTECTED]>
>Sent: Aug 13, 2007 7:06 PM
>To: beginners@perl.org
>Subject: Re: die and exit
>
>On Aug 13, 3:29 am, [EMAIL PROTECTED] (Jeff Pang) wrote:
>> Does die call exit when it's excuted?
>> If so,when I overwrote exit() function in my script,would die call this 
>> customized
>> exit?
>
>> sub exit {
>>     print "test exit";
>>     exit;
>> }
>
>This does not "overwrite" exit.  Your own subroutine &exit and the
>built-in CORE::exit() are not the same thing.
>

Then how to overwrite CORE::exit?
Can anybody help explain how Apache::exit overwrite CORE::exit?

--
Jeff Pang <[EMAIL PROTECTED]>
http://home.arcor.de/jeffpang/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to