in reply to Problems with Cisco Router Perl Query
Your code lacks proper error checking in many places.