File: ObjectRemote.pm

package info (click to toggle)
libnet-openssh-perl 0.84-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: perl: 3,410; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Net::OpenSSH::ObjectRemote;

use strict;
use warnings;

use Moo;

with 'Object::Remote::Role::Connector::PerlInterpreter';

has net_openssh => (is => 'ro', required => 1);

sub final_perl_command {
    my $self = shift;
    my $perl_command = $self->perl_command;
    [ $self->net_openssh->make_remote_command(@$perl_command) ];
}

1;