The keyword you're looking for is either "die" or "exit 1".

Dean


-----Original Message-----
From: Walt Sanders [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 10, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: How to end a perl program?


I give up!  How does one abruptly end a Perl program?  I am somewhere in
the middle of a program and need to be able to say:

if ( blah, blah) end, stop program, quit, we are done!

In the old days of FORTRAN II (!) for example, we just said "go to line #",
which would be a last statement at the end of the program.  Now with no "go
to" statement, how do you just quit?

Six books and I can't find anything!

Walt.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to