http://www.perlmonks.org?node_id=1002658


in reply to CTRL+C Regular Expression

my $Command = '\x03';
That's not a ctrl-C. This is a ctrl-C:
my $Command = "\x03";
Notice the double quotes, instead of the single quotes you used.