use v6; class test { has $.Property; } my $testing = new test; $testing.Property = 5; $testing.Property.say;