[perl #131478] Warning about $. when using metamethod

2017-11-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I'm guessing that this now needs tests? On 2017-10-07 07:35:53, b...@abrij.org wrote: > On Thu, 01 Jun 2017 16:07:41 -0700, ju...@tnx.nl wrote: > > code: > > > > class Command { method Str { "<$.^name>" } } > > # or even just: > > class Command { method Str { $.^name } } > > > > gives: > > > >

[perl #131478] Warning about $. when using metamethod

2017-10-07 Thread Brian S. Julin via RT
On Thu, 01 Jun 2017 16:07:41 -0700, ju...@tnx.nl wrote: > code: > > class Command { method Str { "<$.^name>" } } > # or even just: > class Command { method Str { $.^name } } > > gives: > > Unsupported use of $. variable; in Perl 6 please use the .kv method on > e.g. .lines > > workaround: > >

[perl #131478] Warning about $. when using metamethod

2017-06-01 Thread via RT
# New Ticket Created by Juerd Waalboer # Please include the string: [perl #131478] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131478 > code: class Command { method Str { "<$.^name>" } } # or even just: class