NAME

Hub::Data::Nest - Nested data object

Part of the Hub Library

Top


SYNOPSIS

    use Hub qw(:standard);
    my $nest = mkinst( 'Nest' );
    $$nest{'colors'} = {
      white => 'fff',
      black => '000',
    };
    print '#', $$nest{'colors/black'}, "\n";

Top


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:

the hubaddr manpage

Top


METHODS

new
new
Constructor.

Top


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

Top


AUTHOR

Ryan Gies

Top


COPYRIGHT

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

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

Top


UPDATED

This file created by on at

Top