in reply to Re^3: Matching prompt in Net::Telnet
in thread Matching prompt in Net::Telnet

I've already seen that doc. The problem is that I have to specify the right prompt for cmd otherwise it uses default prompt and doesn't return. And that's where I am having problems... specifying the correct pattern