Yes
> On 16 Dec 2024, at 11:52, ToddAndMargo via perl6-users
> wrote:
>
> On 12/16/24 02:27, Elizabeth Mattijsen wrote:
>> class Fruit {
>> has Str $.location is rw = "Cucamonga";
>> has UInt $.apples is rw = 400;
>> has UInt $.oranges is rw = 200;
>> has UInt $.bana
On 12/16/24 02:27, Elizabeth Mattijsen wrote:
class Fruit {
has Str $.location is rw = "Cucamonga";
has UInt $.apples is rw = 400;
has UInt $.oranges is rw = 200;
has UInt $.bananas is rw = 50;
``}
Is the `` at the end a typo?
On 16 Dec 2024, at 10:49, ToddAndMargo via perl6-users
wrote:
Hi All,
In the following;
class Fruit {
has Str $.location is rw;
has UInt $.apples is rw;
has UInt $.oranges is rw;
has UInt $.bananas is rw;
}
# Pre-salted:
my $FruitStand = Fr
class Fruit {
has Str $.location is rw = "Cucamonga";
has UInt $.apples is rw = 400;
has UInt $.oranges is rw = 200;
has UInt $.bananas is rw = 50;
``}
> On 16 Dec 2024, at 10:49, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> In the following;
>
> class
Hi All,
In the following;
class Fruit {
has Str $.location is rw;
has UInt $.apples is rw;
has UInt $.oranges is rw;
has UInt $.bananas is rw;
}
# Pre-salted:
my $FruitStand = Fruit.new( location => "Cucamonga",