Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
die « System Functions « Perl
Perl
System Functions
die
1.
The die function exits the Perl script and prints out an error message to STDERR
2.
Using function 'die' to terminate a program
3.
Using die to ouput error message