p5-MOP
p5-MOP copied to clipboard
Should we store the metaclass in the $Foo:: variable?
I have no idea what $Foo:: is used for, I know that %Foo:: provides access to the stash but $Foo:: seems to just return undef without error.
perl -e 'package Foo; package main; use strict; use warnings; use Devel::Peek; Dump($Foo::)'
SV = NULL(0x0) at 0x7f9d13003450
REFCNT = 1
FLAGS = ()
We could also store it in the hits hash, like $^H{'MOP/meta'}