ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePerl 5.8
Pragmas
attributes
attrs
autouse
base
bigint
bignum
bigrat
blib
bytes
charnames
constant
diagnostics
encoding
fields
filetest
if
integer
less
lib
locale
open
ops
overload
re
sigtrap
sort
strict
subs
threads
threads shared
utf8
vars
vmsish
warnings
warnings register

MyASPN >> Reference >> ActivePerl 5.8 >> Pragmas
ActivePerl 5.8 documentation

NAME

ops - Perl pragma to restrict unsafe operations when compiling


SYNOPSIS

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


DESCRIPTION

Since the ops pragma currently has an irreversible 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.


SEE ALSO

Opcode(3), Safe(3), perlrun(3)


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved