in reply to Problems with Cisco Router Perl Query
Check that the $routerIP you are trying to use is actually a router ip. It looks to me that the first line of your input file is empty.
Your code lacks proper error checking in many places.
In Section
Seekers of Perl Wisdom