Re: This seems to be wrong
[email protected] (Brandon Allbery) Sun, 18 Sep 2016 16:37:06 -0400
| Newsgroups | perl.perl6.language |
|---|---|
| Message-ID | <CAKFCL4UdymwZvaNAS-haUhL5Uy6Pjr2JtqABkMG7NMaMNJKvtw@mail.gmail.com> |
On Sun, Sep 18, 2016 at 4:31 PM, Parrot Raiser <[email protected]> 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 [email protected] [email protected] unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net