We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffefea9 commit 558447bCopy full SHA for 558447b
cl-sendfile.pl
@@ -39,15 +39,13 @@ =head1 SYNOPSIS
39
use lib $Bin;
40
use DshPerlHostLoop;
41
42
-our $slaves = undef;
43
our $local_file = undef;
44
our $remote_file = undef;
45
our $help = undef;
46
47
GetOptions(
48
"l=s" => \$local_file,
49
"r=s" => \$remote_file,
50
- "n:i" => \$slaves,
51
"h" => \$help
52
);
53
@@ -64,10 +62,6 @@ =head1 SYNOPSIS
64
62
#system( "mkdir -p $ENV{HOME}/files/$dir" );
65
63
#copy( $local_file, "$ENV{HOME}/files/$remote_file" );
66
67
-if ( $slaves ) {
68
- set_host_count( $slaves );
69
-}
70
-
71
my $routine = sub {
72
my $hostname = shift;
73
scp( $local_file, "$hostname:$remote_file" );
0 commit comments