https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15795 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@libriotech.no --- Comment #4 from Magnus Enger <magnus@libriotech.no> --- How about getting rid of both the if and the warn? So from this: use Module::Load::Conditional qw( can_load ); if ( ! can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) { warn "Unable to load Koha::NorwegianPatronDB"; } to this: use Module::Load::Conditional qw( can_load ); can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ); -- You are receiving this mail because: You are watching all bug changes.