The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache::Wyrd::Services::Tree - Data-tree storage object

DESCRIPTION

Very simple object for storing values of any sort with no checking.

SYNOPSIS

    my $tree=Apache::Wyrd::Services::Tree->new(
      {key1 => value1, key2 => value2, key3 => [a, b, c]}
    );

    my $tree=Apache::Wyrd::Services::Tree->new(
      {key1 => value1, key2 => value2, _debug => 1}
    );

    print $tree->key1; #prints value1

    $tree->key1('value4')

    print $tree->key1; #prints value4

METHODS

Tree uses an initialization hash for the initial state. Tree items are added to/set by calling the tree-node name. When an argument is supplied, it is assigned to the key.

AUTHOR

Barry King <wyrd@nospam.wyrdwright.com>

SEE ALSO

Apache::Wyrd

General-purpose HTML-embeddable perl object

LICENSE

Copyright 2002-2007 Wyrdwright, Inc. and licensed under the GNU GPL.

See LICENSE under the documentation for Apache::Wyrd.