Subject: | PerlAddVar MasonPlugins MasonX::MyPlugin is broken |
Use of plugins via httpd.conf if broken.
PerlAddVar MasonPlugins MasonX::MyPlugin fails with Can't locate object method "_get_arrayref_param" via package "HTML::Mason::ApacheHandler"
The attached patch fixes this problem.
Best Regards,
David Jack Olrik
--- lib/HTML/Mason/Request.pm.orig 2005-08-23 17:18:12.000000000 +0200
+++ lib/HTML/Mason/Request.pm 2005-11-11 18:26:12.000000000 +0100
@@ -128,7 +128,7 @@
},
plugins =>
- { parse => 'arrayref', default => [], type => ARRAYREF,
+ { parse => 'list', default => [], type => ARRAYREF,
descr => 'List of plugin classes or objects to run hooks around components and requests' },
# Only used when creating subrequests