8 Feb
2015
8 Feb
'15
9:21 a.m.
What does plugin_args do when you D*::Plugin ? In Dancer::Plugin sub plugin_args { (undef, @_) } In Dancer2::Plugin sub plugin_args {@_} What if there is a module Dancer::Plugin2 (or Dancer2::Plugin2) that detects the Dancer version and in the D1 case constructs a real $dsl object? Can this help to write D1 plugins the D2 way? And then make DRY plugins under this new namespace? -- Henk