This doesn't do what you think it does.
unless ($response eq '1' || '2' || '3')
It says, unless the response was eq to 1, or if 2 is true, or if 3 is true.
2 and 3 are true by definition so this will always be true. I think you
want
unless ($response eq '1'
or $response eq '2'
or $response eq '3') {
#do stuff
}
Peter C.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
