die LIST |
打印列表的值到STDERR的错误中包含$!的值和调用。
无
以下是的用法...
die "Can't cd to spool: $!\n" unless chdir '/usr/spool/www.gitbook.net; or chdir '/usr/spool/www.gitbook.net' or die "Can't cd to spool: $!\n" or open( FILEH, ">/tmp/test" ) || die( "Can't open file test $!\n" );