8.118 ops (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.117 OpcodeChapter 8
Standard Modules
Next: 8.119 overload
 

8.118 ops

Pragma that disables unsafe opcodes during compilation. Can also be used to specify opcodes to be disabled. Generally used with the -M option on the command line:

perl -Mops=:default ...    # only allow reasonably safe operations
perl -M-ops=system ...     # disable system opcode
See the Opcode module for more information.


Previous: 8.117 OpcodePerl in a NutshellNext: 8.119 overload
8.117 OpcodeBook Index8.119 overload

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.