当前位置: 首页 > 文档资料 > Perl 入门教程 >

die

优质
小牛编辑
121浏览
2023-12-01

描述 (Description)

此函数将LIST的值打印到STDERR,并使用$!中包含的错误值调用exit。

语法 (Syntax)

以下是此函数的简单语法 -

die LIST

返回值 (Return Value)

此函数不返回任何值。

<!--

例子 (Example)

Following is the example code showing its basic usage −

When above code is executed, it produces the following result −

-->