PerlDancer/Dancer2 — pull request #208 by dagolden (2013-03-07 01:12:47+00:00)
Title: Add on_plugin_import function to Dancer2::Plugin

This allows plugins to register code blocks to be run
on every import() and get the importing app's DSL object.

This is an alternative approach to issue #184

It would need testing before being applied, but I submit it for discussion.