Thanks!
I added chomp(@lines); to the script and now it works fine. I didn't know perl adds a /n after each line in an array.
In reply to Re^2: perl cript logging into multiple routers
by xubu83
in thread perl script logging into multiple routers
by xubu83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |