Alzabo (version 0.92)

Doc index

TOC | Top

NAME

Alzabo::Runtime - Loads all Alzabo::Runtime::* classes

TOC | Top

SYNOPSIS

  use Alzabo::Runtime qw( schema_name );
TOC | Top

DESCRIPTION

Using this module loads Alzabo::Runtime::* modules.

These modules are what an end user of Alzabo uses to instantiate objects representing data in a given schema.

TOC | Top

import METHOD

This method is called when you use this class. You can pass an array of strings to the module via the use function. These strings are assumed to be the names of schema objects that you want to load. This can be useful if you are running under a mod_perl (or similar) environment and has the potential to save some memory by preloading the objects before a fork, hopefully increasing shared memory.

This method explicitly ignores errors that may occur when trying to load a particular schema. This means that later attempts to retrieve that schema will probably also fail. This is done so that the application that wants a particular schema can explicitly handle the failure later on.

TOC | Top

AUTHOR

Dave Rolsky, <autarch@urth.org>


Table of Contents

- NAME
- SYNOPSIS
- DESCRIPTION
- import METHOD
- AUTHOR