| Previous | Next
OpcodePermits defining an operator mask (opmask) so that any code containing a masked opcode will not compile or execute when Perl next compiles any code. Not usually used directly; for examples of Opcode's use, see the Valid opcodes are listed in the array
FunctionsAll the following functions can be exported.
define_optag (optag, opset) Defines optag as symbolic name for the set
empty_opset Returns an empty opset.
full_opset Returns an opset that includes all operators.
invert_opset (opset) Returns an opset that is the inverse of
opcodes In scalar context, returns the number of opcodes in this version of Perl.
opdesc (op, ...) Takes list of operator names and returns the corresponding list descriptions.
opdump ([pat]) Writes two-column list of operator names and descriptions to STDOUT. If
opmask Returns an opset corresponding to the current opmask.
opmask_add (opset) Adds opset to the current opmask.
opset (op, ...) Returns an opset containing the listed operators.
opset_to_hex (opset) Returns string representation of opset.
opset_to_ops (opset) Returns list of operator names corresponding to the operators in the set
verify_opset (opset[, ...]) Returns true if opset appears to be a valid opset, else returns false. |