Does die call exit when it's excuted?
If so,when I overwrote exit() function in my script,would die call this
customized exit?
I gave a test,but didn't see die calling exit distinctly.
This works as I wanted:
use strict;
use warnings;
sub exit {
print "test exit";
exit;
}
&exit;
But this won't:
use strict;
use warnings;
sub exit {
print "test exit";
exit;
}
die;
Glad to hear any words from you.
--
Jeff Pang <pangj@[EMAIL PROTECTED]
>
http://home.arcor.de/jeffpang/