[Bug 8227] New: Remove compile time warning from C4::Serials
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Priority: P5 - low Change sponsored?: --- Bug ID: 8227 CC: colin.campbell@ptfs-europe.com Assignee: koha-bugs@lists.koha-community.org Summary: Remove compile time warning from C4::Serials Severity: minor Classification: Unclassified OS: All Reporter: colin.campbell@ptfs-europe.com Hardware: All Status: NEW Version: unspecified Component: Serials Product: Koha C4::Serials issues a depreciation warning over the use of qw(...) as parentheses In earlier perl code qw( ... ) was assumed to be equivalent to ( qw( ... ) ) since 5.14 this is no longer the case and different code is generated. perl 5.14.2 and 5.16.0 issue warnings and this will become an error in later perls -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Colin Campbell <colin.campbell@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |colin.campbell@ptfs-europe. |ity.org |com --- Comment #1 from Colin Campbell <colin.campbell@ptfs-europe.com> --- Created attachment 10174 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10174&action=edit Proposed Patch To test perl -wc C4/Serials.pm should not produce a warning over the missing parentheses I believe warning is only issued by perl >= 5.14 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #10174|0 |1 is obsolete| | --- Comment #2 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 10246 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10246&action=edit [SIGNED-OFF] Bug 8227 Fix deprecated construct compile time warning in Serials On master: $ perl -cw C4/Serials.pm Use of qw(...) as parentheses is deprecated at C4/Serials.pm line 604. C4/Serials.pm syntax OK With patch: $ perl -cw C4/Serials.pm C4/Serials.pm syntax OK Signed off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off CC| |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |jonathan.druart@biblibre.co | |m --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Removes warning from C4/Serials.pm Marking as Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8227 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |paul.poulain@biblibre.com Version|unspecified |rel_3_10 --- Comment #4 from Paul Poulain <paul.poulain@biblibre.com> --- not worth backporting to 3.8 but, chris_c, that's your final decision ! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org