Hub::Base::Registry - Runtime symbol storage and in-memory reflection of the filesystem


hub-standard documentation  | view source Contained in the hub-standard distribution.

Index


NAME

Top

Hub::Base::Registry - Runtime symbol storage and in-memory reflection of the filesystem

SYNOPSIS

Top



  use Hub qw(:standard);
  use Data::Dumper qw(Dumper);
  callback(&main);
  sub main {
    Dumper($Hub);
  }







DESCRIPTION

Top

This class is used internally and represents a runtime instance. The symbol $Hub is an instance of this package.

PUBLIC METHODS

Top

new

Constructor

run

Main action method


 Usage: run \&callback_subroutine




bootstrap

Bootstrap the scope for this thread

finish

The caller's script has completed

resolve

Return a scalar value of a node


 Usage: resolve $key
Because some nodes (like files) can be pointers to certain resources, this
method will return their final contents.







INTERNAL METHODS

Top

_root_overlay

AUTHOR

Top

Ryan Gies (ryangies@livesite.net)

COPYRIGHT

Top

UPDATED

Top

08/02/2007


hub-standard documentation  | view source Contained in the hub-standard distribution.