in reply to Net::Telnet disappearing data :)

It looks like PrakashK's advice got you going.   8^)

It also looks like you're working with Cisco routers.   If that's the case, I'd encourage you to look into Net::Telnet::Cisco.   It streamlines prompts and other Cisoey stuff, and might save you some grief.

Examples of how I've had good luck with that module can be found near the tail of my homenode.   Good luck!
    cheers,
    Don
    striving toward Perl Adept
    (it's pronounced "why-bick")

  • Comment on Re: Net::Telnet disappearing data :) (Net::Telnet::Cisco worth checking into)