Re: nil mystery

2018-04-29 Thread ToddAndMargo
On 04/29/2018 09:32 PM, Andrew Kirkpatrick wrote: There is not enough context to answer or even reproduce the problem - how are the variables declared and what values do they have just prior to this line? Also, what version of rakudo? On 30 April 2018 at 11:29, ToddAndMargo

Re: nil mystery

2018-04-29 Thread ToddAndMargo
On 04/29/2018 10:12 PM, ToddAndMargo wrote: On 04/29/2018 09:32 PM, Andrew Kirkpatrick wrote: There is not enough context to answer or even reproduce the problem - how are the variables declared and what values do they have just prior to this line? Some simpler examples: $ perl6 -e 'my

Re: nil mystery

2018-04-29 Thread Andrew Kirkpatrick
There is not enough context to answer or even reproduce the problem - how are the variables declared and what values do they have just prior to this line? Also, what version of rakudo? On 30 April 2018 at 11:29, ToddAndMargo wrote: > Hi All, > > These two throw an

nil mystery

2018-04-29 Thread ToddAndMargo
Hi All, These two throw an operating on a "Nil" error: $PartsStr ~= "$PartNo"; $PartsStr ~= "{$PartNo}"; But this does not: $PartsStr ~= "{$PartNo}" ~ ""; And this does not either: $PartsStr ~= "abcde"; Huh? Many thanks, -T -- ~~~ Serious