Since you are running only one thread, debugging is unnecessarily complicated by your use of Parallel::ForkManager. Try to run without that. You can even use the built-in perl debugger!
Your declaration of "local($host,$model) = @_;" is probably based on a misunderstanding of "local". Please change that to "my".
Try to add error checking when you create the new Cisco object, and when you do the login.
"I can cast out either one of your demons, but not both of them." -- the XORcist
In reply to Re: Using Net::SSH2::Cisco
by NetWallah
in thread Using Net::SSH2::Cisco
by mroe1234
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |