Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

array and hash fields syntax #316

Open
@rurban

Description

@rurban
class XX {
  has @array;
  has %hash;
}
my $obj = new XX;
$obj->array[0]; # -> aelem
$obj->hash{0}; # -> helem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions