Andrew Maltsev > XAO-Base > XAO::DO::Embeddable

Download:
XAO-Base-1.06b.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 2.001   Source  

NAME ^

XAO::DO::Embeddable - recommended base object for XAO embeddable configs

SYNOPSIS ^

 package XAO::DO::Foo::Config;
 use strict;
 use XAO::Objects;
 use base XAO::Objects->load(objname => 'Embeddable');

DESCRIPTION ^

Provides set_base_config() and base_config() methods to embeddable configs based on it.

METHODS ^

set_base_config ($)

Called automatically with one argument -- reference to the configuration object it is being embedded into.

base_config ($)

Returns previously stored base config reference. Reason to have this method is the following: methods of embedded configs are called in the namespace of their own and common configuration object is not available from them through normal @ISA relations.

EXPORTS ^

Nothing.

AUTHOR ^

Copyright (c) 2003 XAO, Inc.

Andrew Maltsev <am@xao.com>.

SEE ALSO ^

XAO::DO::Config

syntax highlighting: