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" );