You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+-------------------------------+
use Module::Something;
say @locations.WHAT;
Expected Behavior
I would expect a list to survive this import/export.
Actual Behavior
I end up with an array instead of a list.
Now, admittedly this may be intended but I cannot find a reasonable explanation for this in the documentation. It may exist and I may have missed it. I understand I can use a different sigil; I tested that and that works without issue, but I can't fathom why this specific example doesn't.
The text was updated successfully, but these errors were encountered:
It would be nice to get actual golfed, reproducible issues so that there don't need to be extra laps run only to analyze the behavior. In this case: some actual folder structure. Also for this example - if the issue is indeed import/export - our wouldn't be needed and that strikes me as something that might interfere...
The Problem
unit module Module::Something;
our @Locations is export := ('yabba', 'dabba');
+-------------------------------+
use Module::Something;
say @locations.WHAT;
Expected Behavior
I would expect a list to survive this import/export.
Actual Behavior
I end up with an array instead of a list.
Now, admittedly this may be intended but I cannot find a reasonable explanation for this in the documentation. It may exist and I may have missed it. I understand I can use a different sigil; I tested that and that works without issue, but I can't fathom why this specific example doesn't.
The text was updated successfully, but these errors were encountered: