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.

Paul Lalli


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


Reply via email to