rjbs / Pod-Weaver

recombine pod documents into awesomer pod documents
26 stars 28 forks source link

support for =event #5

Closed jquelin closed 10 years ago

jquelin commented 13 years ago

event frameworks are quite a few on cpan: poe, event, coro, etc. not counting all the graphical toolkit, which each have an event loop.

therefore, it makes sense to add support for =event that would collected under an EVENTS section, same as attributes & methods.

apocalypse commented 13 years ago

I like this idea, but I sorta agree with rjbs - it's trivial to add it to your configuration. See mine:

https://github.com/apocalypse/perl-pod-weaver-pluginbundle-apocalyptic/blob/master/lib/Pod/Weaver/PluginBundle/Apocalyptic.pm#L66

If it did more fancy things then I could see it going into core. An example of "fancy" mangling is getting input/output events separated into different sections or something like that :)