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.
In reply to Re^3: NET::OpenSSH to execute multiple commands
by toolic
in thread NET::OpenSSH to execute multiple commands
by hmb104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |