ops(3pm)

ops3pm

Perl pragma to restrict unsafe operations when compiling

Usage

  perl -Mops=:default ...    # only allow reasonably safe operations
  perl -M-ops=system ...     # disable the 'system' opcode

Overview

Since the ops pragma currently has an irreversable global effect, it is only of significant practical use with the -M option on the command line.

See the the Opcode manpage module for information about opcodes, optags, opmasks and important information about safety.

Releases

5 releases since Debian 1.2 (Rex); the text changed 3 times.

  1. 1.2–1.3
  2. 2.0
  3. 2.1
  4. 2.2

From perl-5.004-doc 5.004.05-6 in Debian 2.2 (Potato). Also shipped by perl-5.005-doc. Parsed by carta from the page's man source.