exit « System Functions « Perl






1.To exit a Perl script, use the die function or the exit function.
2.Using exit command to exit an program