NAME

Hub::Data::Nest - Nested data object

Part of the Hub Library

SYNOPSIS

use Hub qw(:standard);
my $nest = mkinst( 'Nest' );

$$nest{'colors'} = {
  white => 'fff',
  black => '000',
};

print '#', $$nest{'colors/black'}, "\n";

DESCRIPTION

This virtual base class ties itself to Hub::Knots::Addressable in order to hook into member access routines.

Intention

We wish to have a single hash which behaves as the root element of a hierarchical data structure (such as XML or the DOM.)

See also:

hubaddr

METHODS

new
new

Constructor.

INTERNAL

AUTOLOAD DESTROY
AUTOLOAD

Proxy for data handler methods

get         # fetch
set         # store
append      # special store
take        # delete
DESTROY

Usage: DESTROY

Defining this function prevents it from being searched in AUTOLOAD

AUTHOR

Ryan Gies

COPYRIGHT

Copyright (c) 2006 Livesite Networks, LLC. All rights reserved.

Copyright (c) 2000-2005 Ryan Gies. All rights reserved.

UPDATED

This file created by mkdocs.pl on 8/29/2006 at 2:07pm