> On Jul 6, 2021, at 3:10 PM, Tom Browder <tom.brow...@gmail.com> wrote:
>
> On Tue, Jul 6, 2021 at 14:53 ToddAndMargo via perl6-users
> <perl6-us...@perl.org> wrote:
> ...
> writing out 2000 skips is not practical.
>
> Todd, why don't you tell us what you're really trying to do, i.e., what is
> your use case? Maybe the experts can suggest a better class design.
>
> -Tom
I also would prefer seeing a use case.
In the meantime:
my @will_become_I_soon;
@will_become_I_soon[400] = "four hundred";
@will_become_I_soon[2000] = "two thousand";
my $CC = AA.new( I => @will_become_I_soon );
or
my $CC = AA.new( I => [ flat( Str xx 400, "four hundred", Str xx
2000-400-1, "two thousand" ) ] );
--
Hope this helps,
Bruce Gray (Util of PerlMonks)