On Sun, Sep 18, 2016 at 4:31 PM, Parrot Raiser <1parr...@gmail.com> wrote:

> but seems to have a problem with larger numbers:
>
> 7
> 3
> 21                              <--------- This
> 2
> 1
> 0
> 4
> bamm-bamm
> barney
> (Any)                      <----------- Produces this
> betty
> fred
> 0 out of range 1..7
> dino
>

[18 20:35] <geekosaur> m: say so "21" ~~ 1..7
[18 20:35] <camelia> rakudo-moar 34f950: OUTPUT«True␤
[18 20:35]  »

It came from lines(), it is a Str. Numify it first.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to