RE: Compare to multiple numbers

2005-05-17 Thread Charles K. Clarkson
[EMAIL PROTECTED] wrote: : Why doesn't this work to check the 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 t

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 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 thin

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 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-

Compare to multiple numbers

2005-05-16 Thread christopher . l . hood
Why doesn't this work to check the 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 ){ print "Enter the number that corresponds to the type of offense you would like a report for\n"