More tests & fixes for the goto &Moose::import case.
authorDave Rolsky <autarch@urth.org>
Thu, 14 Aug 2008 14:26:16 +0000 (14:26 +0000)
committerDave Rolsky <autarch@urth.org>
Thu, 14 Aug 2008 14:26:16 +0000 (14:26 +0000)
commit12fd2648b5fdbf05fe562bc87e426d52b0ae4a5f
treed07b568267bcab19237e9c55a262bfcbd7337c4f
parent8f5498057e576c1f55ad3d3cdb721d234ee9f77a
More tests & fixes for the goto &Moose::import case.

When this happens, the first argument to Moose::import is the original
package (Squirrel, etc). Arguably, this means that doing this goto
stuff is wrong, but it's easy enough to ignore this, since we know
what the real package is when we construct the import & unimport subs.
lib/Moose/Exporter.pm
t/050_metaclasses/014_goto_moose_import.t