Read one character of input?

From: Leif K-Brooks (eurleif_at_ecritters.biz)
Date: 12/10/03


Date: Wed, 10 Dec 2003 13:23:12 GMT

I'm trying to write a Brain*** interpreter in Perl out of boredom and
desire to improve my skills. I'm running into one prroblem, though:
Brain*** needs to read one character of input at a time, and I'm not
sure how to it. I've considered reading a line of input at a time and
giving it to the Brain*** program one character at a time, but is there
a better/easier way?