Oops,
> On 17 Nov 2017, at 01:24, Elizabeth Mattijsen wrote:
> sub trait_mod:(\attribute, :&proxy!) is export {
sub trait_mod:(Attribute:D \attribute, :&proxy!) is export {
so that the trait can only be used on Attribute objects.
Liz
You could probably do this nicer as an Addtribute trait:
Creator.pm
==
sub trait_mod:(\attribute, :&proxy!) is export {
attribute.package.^add_method(attribute.name,my method () { proxy($_) })
}
A.pm
use Creator;
class A {
has $!a is proxy( &func );
has $!b is proxy( &fu
On Mon, 13 Nov 2017 20:29:52 -0800, d...@zwell.net wrote:
> With Linenoise installed, I get this error:
>
> Malformed UTF-8 at line 1 col 6
That looks like it might be working correctly, except cmd.exe wasn't told to
UTF-8 code page (need to run `chcp 65001`).
> But in the REPL, I tried to run
On Mon, 13 Nov 2017 20:29:52 -0800, d...@zwell.net wrote:
> With Linenoise installed, I get this error:
>
> Malformed UTF-8 at line 1 col 6
That looks like it might be working correctly, except cmd.exe wasn't told to
UTF-8 code page (need to run `chcp 65001`).
> But in the REPL, I tried to run
On Thu, 16 Nov 2017 02:28:11 -0800, d...@zwell.net wrote:
> The Windows command shells I've used (CMD and Cmder) fail to print the "「」"
> that are part of stringified matches. This is a significant issue, since
> new users use regular expressions when working through tutorials.
>
> Since pasting t
On Thu, 16 Nov 2017 02:28:11 -0800, d...@zwell.net wrote:
> The Windows command shells I've used (CMD and Cmder) fail to print the "「」"
> that are part of stringified matches. This is a significant issue, since
> new users use regular expressions when working through tutorials.
>
> Since pasting t
# New Ticket Created by Dan Zwell
# Please include the string: [perl #132452]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=132452 >
The Windows command shells I've used (CMD and Cmder) fail to print the "「」"
that are part of
Hi,
I've added my start of PaganVisions game in perl 6 using SDL2:Raw,
it's at http://github.com/theholyghost/holly6src
It just opens a window with keybindings, I have some SDL2 graphics in the
works.
Enjoy!
Holly
Maybe someone might find this useful.
In the end I concocted this kind of code. The price of simplicity at the
base program level is paid at the class level, with a specific BUILD
submethod, and with an even greater complexity at role level, where the
accessors are created dynamically with some me