If Dumper says $input contains "\e[C\n", then $input contains "\e[C\n". You're telling me $input doesn't contain "\e[C\n" anymore, so you need to find out what $input contains. You can use Data::Dumper to do that as I've already shown.
In reply to Re^7: Regex arrow key problem
by ikegami
in thread Regex arrow key problem
by austin43
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |