[Koha-bugs] [Bug 28519] Add a 2nd directory for Perl modules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 15 11:04:34 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28519

--- Comment #10 from Julian Maurice <julian.maurice at biblibre.com> ---
Comment on attachment 121836
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121836
Bug 28519: Put CGI::Session::Serialize::yamlxs in lib directory

Review of attachment 121836:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=28519&attachment=121836)
-----------------------------------------------------------------

::: Makefile.PL
@@ +1804,5 @@
> +            if ($path){
> +                $unique_map{$path} = 1 unless $unique_map{$path};
> +            }
> +        }
> +        my @paths = sort keys %unique_map;

Just a little suggestion: you can use uniq from List::MoreUtils to make the
code smaller and easier to read

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list