Jaimee,

You should also change:
   chop(my$input_answer = <STDIN>);
to read as:
   chomp(my$input_answer = <STDIN>);

'chomp' removes a linebreak,if there is one, from the end of the input,
which is what you want here.
'chop' removes the last character (regardless of what it is) from the end of
the input, which just so happens to work while you're running this from the
shell, but may not be what you want in other situations.

Cheers,
Carl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to