Fun with App::Prove::Plugin
Steve Purkis
steve at purkis.ca
Sat Feb 14 12:44:25 GMT 2009
On 9 Feb 2009, at 12:31, Andy Armstrong wrote:
> On 7 Feb 2009, at 22:41, Steve Purkis wrote:
>>
>> I ended up going with a separate Plugin->load() method, rather than
>> changing the args passed to Plugin->import() -- this affects modules
>> loaded with -M too, so I wanted it to be backwards compat.
>> Hopefully it all makes sense; if not lemme know (or fix it ;-).
>>
>> It might make sense to split the plugin loading from the module
>> loading - as it stands, if any module loaded has a load() method,
>> it'll get called. If you guys think that's enough of a problem we
>> should change it.
>>
>> It might also make sense to load the plugins before checking help/
>> man/version/dry (so the plugins could set any of these if need be).
>> And it might make sense to keep track of the actual plugin classes
>> loaded. But I'm outta time...
>
> I'm outta time too - but commit it and I'll have a look, thanks ;)
This is committed now; let me know what you think.
+--
Steve Purkis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.hexten.net/pipermail/tapx-dev/attachments/20090214/18613649/attachment.htm
More information about the tapx-dev
mailing list