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

--- Comment #66 from Julian Maurice <[email protected]> ---
Comment on attachment 122208
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122208
Bug 25078: Separate update "report" from its description

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

::: C4/Installer.pm
@@ +724,5 @@
>  
>          my $error;
>  
> +        my $out = '';
> +        open my $outfh, '>', \$out;

About that feature of 'open', perldoc says:

This feature works only when Perl is built with PerlIO -- the default, except
with older (pre-5.16) Perl installations that were configured to not include it
(e.g. via Configure -Uuseperlio). You can see whether your Perl was built with
PerlIO by running perl -V:useperlio. If it says 'define', you have PerlIO;
otherwise you don't.

But it also says:

For Perls 5.8.0 and later, PerlIO is (most often) the default

It tested up to 5.10 (with docker images at https://hub.docker.com/_/perl) and
it works well.
If we want to be extra safe we can increase the minimum perl version required
to 5.16 but I don't think it's necessary.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to