Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.125 SafeChapter 8
Standard Modules
Next: Reference: mask
 

new

$cpt = new Safe [(namespace, mask)]

Constructor. Creates a new compartment. Takes the following arguments:

namespace

Optional. Root namespace to use for the compartment. Default is "Safe::Root0", which auto-increments for each new compartment.

mask

Optional. Operator mask to use; defaults to a restrictive set.


Previous: 8.125 SafePerl in a NutshellNext: Reference: mask
8.125 SafeBook IndexReference: mask