in reply to Re^2: NET::OpenSSH to execute multiple commands
in thread NET::OpenSSH to execute multiple commands
foreach $Line ( @Output || @Output2 ) {The foreach loop will probably get executed only once, and $Line will take on a value equal to the number of elements in the @Output array. You probably want a comma, like I showed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: NET::OpenSSH to execute multiple commands
by hmb104 (Sexton) on Aug 24, 2012 at 21:55 UTC |