in reply to Re^2: scp command in perl introduces extra character while copying
in thread scp command in perl introduces extra character while copying
$i is not a hostname. $i is a hostname followed by (at least) a newline. So, please try using chomp on the lines read from STDIN.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: scp command in perl introduces extra character while copying
by surajsam (Initiate) on Nov 10, 2011 at 03:30 UTC |