in reply to Menu Troubles..

Every time you evaluate <STDIN> you read a line from standard input. That means the first if() looks at the first line then the second if() looks at the next one, etc. Probably not what you meant! Instead, assign <STDIN> to a variable and then you can test it against multiple conditions.

-sam

Replies are listed 'Best First'.
Re^2: Menu Troubles..
by Snowman11 (Novice) on Jun 15, 2005 at 21:38 UTC
    thank you