home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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 Opcode Perl in a Nutshell Next: 8.119 overload
8.117 Opcode Book Index 8.119 overload

Library Navigation Links

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