Perl no Function

Advertisements


Description

This function calls the unimport function defined in MODULE to unimport all symbols from the current package if MODULE supports it, or only the symbols referred to by LIST. It can be said that no is opposite of import

Syntax

Following is the simple syntax for this function:

no Module VERSION LIST

no Module VERSION

no MODULE LIST

no MODULE

Return Value

This function does not return any value.

Example

Following is the example code showing its basic usage:


When above code is executed, it produced following result




Advertisements
Advertisements