IPC-PerlSSH
view release on metacpan or search on metacpan
lib/IPC/PerlSSH.pm view on Meta::CPAN
=cut
sub bind
{
my $self = shift;
my ( $name, $code ) = @_;
$self->store( $name, $code );
my $caller = (caller)[0];
{
no strict 'refs';
*{$caller."::$name"} = sub { $self->call( $name, @_ ) };
}
}
=head2 call
@result = $ips->call( $name, @args )
( run in 0.343 second using v1.01-cache-2.11-cpan-1e74a51a04c )