Reference: new
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:51:40Z

#

| Chapter 8 Standard Modules |

## 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.

8.125 Safe |  | Reference: mask