https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24631 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #24 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Why not do something like this in a plugin with an our $metadata definition: sub new { my ($class, $params) = @_; return $class->SUPER::new($params, $metadata); } Or when a new style plugin has a manifest file, do: sub new { my ($class, $params) = @_; return $class->SUPER::new($params, IO::File->new(FILENAME) ); } And let Plugin::Base::new handle either the hashref or the filehandle? -- You are receiving this mail because: You are watching all bug changes.