matching **

2001-04-30 Thread Lee, Janet
Hi all. Everyone has been so helpful with my other questions, I thought I would put out another one. I'm writing a script that searches through an array of hashes. One of the possible fields in the hash is "Comments" and sometimes the comments have characters such as ? or * in them. Right now, m

installing Term::ReadKey module on Windows

2001-04-24 Thread Lee, Janet
Hi all. I'm having difficulty installing the Term::ReadKey module which was suggested to me. From what I can tell, I need to compile it--unfortunately, I've never compiled any C programs on my Windows machine before, so I don't have gcc installed. I have three questions: 1) Am I right that I need

RE: sysread and buffering

2001-04-24 Thread Lee, Janet
In case inquiring minds would like to know... Actually, the reason why I am trying to do this in PERL in the first place is because I couldn't figure out how to do it in C++ on a UNIX machine (getchar is not supposed to buffer, but it does in some cases). I thought I would try it in PERL on UNIX

sysread and buffering

2001-04-23 Thread Lee, Janet
Hi all. I'm trying to do what I think is a very simple thing. I want to read keyboard input char by char and time the difference between each keystroke. I've tried using while (sysread STDIN, $key, 1) { dostuff }; but that seems to be doing some kind of buffering so that the body of th