in reply to Keystoke Logger

print "Enter your keystrokes"; #now enter print to see print echoed back and program exit my $keystrokes =<STDIN>; chop $keystrokes; if ($keystroke eq "print"){ print $keystrokes; exit; }
Not so difficult many programs 'log keystrokes' to operate their commands. Remember to chop the keystrokes to ditch newlines

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.