| 1 | package RPC::Simple::AnyRemote; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use vars qw(@ISA $VERSION); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use RPC::Simple::AnyWhere ; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | # Items to export into callers namespace by default. Note: do not export | ||||||||||
| 8 | # names by default without a very good reason. Use EXPORT_OK instead. | ||||||||||
| 9 | # Do not simply export all your public functions/methods/constants. | ||||||||||
| 10 | |||||||||||
| 11 | 1 | ( $VERSION ) = '$Revision: 1.6 $ ' =~ /\$Revision:\s+([^\s]+)/; | |||||||||
| 12 | |||||||||||
| 13 | 1 | @ISA = qw(RPC::Simple::AnyWhere) ; | |||||||||
| 14 | |||||||||||
| 15 | # Preloaded methods go here. | ||||||||||
| 16 | |||||||||||
| 17 | # Autoload methods go after =cut, and are processed by the autosplit program. | ||||||||||
| 18 | |||||||||||
| 19 | # see loadspecs for other names | ||||||||||
| 20 | sub new | ||||||||||
| 21 | 0 | ▶ | { | ||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 22 | 0 | my $type = shift ; | |||||||||
| 23 | 0 | my $self = {} ; | |||||||||
| 24 | |||||||||||
| 25 | 0 | print "creating new $type\n"; | |||||||||
| 26 | 0 | $self->{_twinHandle} = shift ; | |||||||||
| 27 | 0 | $self->{origDir} = $ENV{'PWD'} ; | |||||||||
| 28 | |||||||||||
| 29 | 0 | bless $self,$type ; | |||||||||
| 30 | |||||||||||
| 31 | # construct an array of existing remote functions and store it in the | ||||||||||
| 32 | # child class name space (rude but necessary behavior) | ||||||||||
| 33 | 0 | ▶ | unless (defined $SUPER::_RPC_SUBS{ref($self)}) | ||||||||
|
Branch: 1 branch
| |||||||||||
| 34 | { | ||||||||||
| 35 | 0 | $self->_searchSubs(ref($self)) ; | |||||||||
| 36 | } | ||||||||||
| 37 | |||||||||||
| 38 | 0 | return $self ; | |||||||||
| 39 | } | ||||||||||
| 40 | |||||||||||
| 41 | |||||||||||
| 42 | 1 | 1; | |||||||||
| 43 | |||||||||||
| 44 | __END__ | ||||||||||