> On 20/05/2010, at 1:45 PM, Kate Yoak wrote: > >> This problem actually screams for a MooseX::ImportGlobs kind of a module. >> It feels like one ought to be able to dig around, find all the unnamed globs >> and import them into meta with a single line of code. > > > How would you avoid importing globs from all the other packages who have > exported functions into your module's namespace? e.g. List::Util functions > >
Why is it a bad thing to have all methods that exist in any form inside your class imported into meta? They are methods now in the class's namespace, so they ought to be introspectable, no? Cheers, Kate P.S. Took me a while to get back to this thread as I was trying to wrap up a release. There is so much good info though!