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