Let's get straight to the point. I want to create a declarator, let's call it testable
, that is the combination of our
and is export
, so that instead of writing
our $foo is export;
we would simply write
testable $foo;
I'm pretty sure something can be done through the metamodel, but I'm not sure this precise thing (scope and trait) can be done or, for that matter, how.
our $foo is export;
was a 1 liner in the 2020s, it takes less than a single bit in version Z, thanks to the new version of Damian's Quantum::Computation (for obvious reasons I can only share a link to it as it was in 2020." ~~ The 13th Time Lord. ] – Fatidic