无涯教程-Perl - no函数

42 阅读1分钟

描述

如果MODULE支持,则此函数调用MODULE中定义的unimport函数从当前包中取消导入所有符号,或者仅导入LIST引用的符号。可以说没有与进口相反。

语法

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

no Module VERSION LIST

no Module VERSION

no MODULE LIST

no MODULE

返回值

此函数不返回任何值。

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

-->

参考链接

www.learnfk.com/perl/perl-n…