Hub::Base::Package - Hub::Base::Package documentation


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

Index


NAME

Top

Hub::Base::Package -

SYNOPSIS

Top

DESCRIPTION

Top

PUBLIC METHODS

Top

modexec

Execute runtime module

new

Constructor


 Usage: new $module_filename
This creates a singleton adapter of the perl module




call

Call a method in the underlying package


 Usage: call $method, [@parameters]
Note that wrapped methods do not pass the 'defined' test




reload

Callback method from Hub::Data::FileCache::fattach


 Usage: reload $file_instance
Called implicty on the first attachment or when the file has been modified
on disk.  Not to be used unless you override L<Hub::Data::FileCache>.







Special patterns:



  package PACKAGE;          # for dynamically allocating based on full path




  import 'foo.pm' as 'FOO'; # for including dynamic packages
  FOO::method();




INTERNAL METHODS

Top

AUTOLOAD

Proxy the call to the underlying package

DESTROY

Defining this function prevents it from being searched in AUTOLOAD

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.