Actually track exactly what coderefs we export by stringified name,
authorDave Rolsky <autarch@urth.org>
Wed, 3 Sep 2008 16:57:13 +0000 (16:57 +0000)
committerDave Rolsky <autarch@urth.org>
Wed, 3 Sep 2008 16:57:13 +0000 (16:57 +0000)
commit7e3794f4ccd9d9d494423d4f54a0432f8a465cdb
tree128175002bbdb3111ca32492483c3f0d7923bcd6
parent3e758c397845d8d45a1f28c946f4384d086ca674
Actually track exactly what coderefs we export by stringified name,
and then in unimport only clean if that stringified name
matches. Previously, we relied on Sub::Name actually being present,
which is not guaranteed.
lib/Moose/Exporter.pm