$cpt = new Safe [(namespace, mask)]
cpt
namespace
mask
Constructor. Creates a new compartment. Takes the following arguments:
Optional. Root namespace to use for the compartment. Default is "Safe::Root0", which auto-increments for each new compartment.
"Safe::Root0"
Optional. Operator mask to use; defaults to a restrictive set.
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]