# New Ticket Created by  Bahtiar `kalkin-` Gadimov 
# Please include the string:  [perl #127653]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127653 >


Hi,

trying to access the EXPORT in a module fails when done like this:
```perl6
use v6;
use Test;

module Foo::Bar {
    sub first is export {};
    sub second is export {};
}

plan 2;

is Foo::Bar::EXPORT::ALL::.elems, 2;

my \module = Foo::Bar;

is Foo::Bar::.keys, module::.keys;

diag module::EXPORT::.keys; # fails with Could not find symbol '&EXPORT'}
```

while talking about this in #perl6 @perlpilot noticed the following:
https://gist.github.com/perlpilot/018013c0766796b92893 and suggested this might
be a bug. So is this a bug, or did I misunderstood the syntax?

```
$ perl6 -v
This is Rakudo version 2015.12-242-g8bd7ee6 built on MoarVM version 2016.01
implementing Perl 6.c.
```

Thanks
kalkin-

Reply via email to