more useful options | |
PerlMonks |
using exit;by costas (Scribe) |
on Apr 09, 2002 at 09:47 UTC ( [id://157684]=perlquestion: print w/replies, xml ) | Need Help?? |
costas has asked for the wisdom of the Perl Monks concerning the following question:
Running IIS 5, win2k....
I have written a perl program which relies quite a bit on the exit function when ever an error occurs.
As I understand it exit 'exits' the perl interpretor so any compiling of my script should stop? However... When I run the script via a browser and the exit function is called. The IE browser process tab is still running in the same fashion as when a server has timed out. When I run the script via the command prompt, the prompt seems to hang for about a minute after the exit function is called before reverting back to a usable command prompt. I am just a bit worried that exit is not working quite right. Is this normal behaviour for the exit function? Is it because i am using win/iis? Is this the best function to completely exit a script and stop compiling? I appreciate any advice
Back to
Seekers of Perl Wisdom
|
|