start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.125 Safe Chapter 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 Safe Perl in a Nutshell Next: Reference: mask
8.125 Safe Book Index Reference: mask

Library Navigation Links

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