Name

no

Synopsis

no Module list

Description

Effectively “undoes” the use function. Used to deactivate pragmas (compiler directives) for sections of your program. For instance:

no strict 'refs'

allows soft references to the end of the block scope, if:

use strict 'refs'

was previously invoked.

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.