Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote:
Then in S12 it shows
my constant ...
and
our constant ...
that is, independant from the my or our declarator.
I grep'ped STD.pm tentatively for other occurrences of 'constant', and
couldn't find where that should be implemented.
Thanks. I checked S12 again and could not find that example. Maybe my
mistake from when I took notes the first time.
So, let's talk about the semantics of constant.
It's natural to want to export them from classes or modules. So, the
description of them being "just like my" is incomplete. I propose
allowing that to be true as far as it goes, but describing the meaning
of adding "is export" to the declaration as well.
--John