Not so difficult many programs 'log keystrokes' to operate their commands. Remember to chop the keystrokes to ditch newlinesprint "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; }
In reply to Re: Keystoke Logger
by hakkr
in thread Keystoke Logger
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |