in reply to How to restrict the user to enter only 1 character
my $char = getc(); print "you entered $char\n"; [download]
broquaint