# New Ticket Created by  Carlin Bingham 
# Please include the string:  [perl #69592]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69592 >


Easiest way to do this:

> class Foo { use Test; }
Null PMC access in set_pmc_keyed()
in Main (src/gen_setting.pm:444)

Real way to do this:

$ perl6 test.pl
Null PMC access in set_pmc_keyed()
in Main (src/gen_setting.pm:444)
$ cat test.pl
use Foo;
$ cat Foo.pm
class Foo {
use Bar;
}
$ cat Bar.pm
class Bar {
method baz is export {}
}

Putting the 'use' declaration outside of the class works as a work-around.

--
Carlin

Reply via email to