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


8.125 Safe

Creates compartments for evaluating untrusted Perl code. Each compartment has an associated operator mask for excluding particular Perl operators from the compartment. See the Opcode module for more information on operators and operator masks. The default mask is applied during compilation to prevent all operations that give access to the system. Safe provides the following methods:

The following subroutines are available for export by Safe. The operator names can be found in the array op_name in the file opcode.h in the Perl distribution.


Previous: 8.124 re Perl in a Nutshell Next: 8.126 SDBM_File
8.124 re Book Index 8.126 SDBM_File

Library Navigation Links

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