ObjStore::notify - Pragma to Declare Methods That Will Execute Remotely
package MyObject; use ObjStore; use base 'ObjStore::HV'; use ObjStore::notify qw(jump); sub do_jump { my ($obj, $why) = @_; # server side warn $why; # 'very high' } $obj->jump('very high'); #client side
Declares a simple stub method that invokes the notify method. Works in concert with ObjStore::Process::autonotify.
notify
ObjStore::Process::autonotify
There will probably be a way to alias this package to 'notify', so you can type 'use notify' instead of 'use ObjStore::notify'.
To install ObjStore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ObjStore
CPAN shell
perl -MCPAN -e shell install ObjStore
For more information on module installation, please visit the detailed CPAN module installation guide.