Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OO::Monitors breaks with custom initialization
use v6;
use OO::Monitors;
monitor Grid {
has @!grid;
submethod BUILD() {
@!grid = [23, 42];
}
}
my $g = Grid.new;
dd $g;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment