---
name: "Alzabo::Config"
section: "3pm"
platform: "linux"
package: "libalzabo-perl"
version: "0.92-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Alzabo::Config"
---

# Alzabo::Config(3pm)

Alzabo configuration information

## NAME

Alzabo::Config - Alzabo configuration information

## SYNOPSIS

```
  use Alzabo::Config
  print Alzabo::Config::schema_dir;
```

## DESCRIPTION

This module contains functions related to Alzabo configuration information.

## FUNCTIONS

### root\_dir ($root)

If a value is passed to this method then the root is temporarily changed.  This change lasts as long as your application remains in memory.  However, since changes are not written to disk it will have to be changed again.

Returns the root directory for your Alzabo installation.

### schema\_dir

If no root\_dir is defined, this function throws an exception.

Returns the directory under which Alzabo schema objects are stored in serialized form.

### available\_schemas

If no root\_dir is defined, this function throws an exception.

Returns a list containing the names of the available schemas.  There will be one directory for each schema under the directory returned. Directories which cannot be read will not be included in the list.

Throws: `"Alzabo::Exception::System"`
