Re: Compare to multiple numbers

2005-05-17 Thread Zeus Odin
Christopher L Hood [EMAIL PROTECTED] wrote ... Why doesn't this work to check the STDIN until it is one of the numbers 1 2 3 4 5 ?? I have tried multiple variations of this with different brackets ie. [ ] , and ( ) . Chris, this doesn't work because you didn't write valid code. ;-) I think

RE: Compare to multiple numbers

2005-05-17 Thread Charles K. Clarkson
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: : Why doesn't this work to check the STDIN until it is one of the : numbers 1 2 3 4 5 ?? I have tried multiple variations of this with : different brackets ie. [ ] , and ( ) . List::MoreUtils exports a function named 'any'. It will allow you

RE: Compare to multiple numbers

2005-05-16 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: Why doesn't this work to check the STDIN until it is one of the numbers 1 2 3 4 5 ?? I have tried multiple variations of this with different brackets ie. [ ] , and ( ) . until($type_number == 1 .. 5 ){ I know that you could use a character class [1-5]