http://qs321.pair.com?node_id=1228656


in reply to Unable to match Net::Telnet Prompt on CentOS. However, the same prompt works fine on FC20

You could set:

my $obj = Net::Telnet->new( ... dump_log => 'dump.log', .... } # or $obj->dump_log('dump.log');

on your Net::Telnet object to get a "binary" log file showing all the hex characters of what's on the wire - then you could see any funky escape characters in the prompt as suggested by RMGir above.