[Koha-bugs] [Bug 5105] New: Switch Module Depreciated in perl 12

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 9 10:21:00 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5105

           Summary: Switch Module Depreciated in perl 12
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Architecture, internals, and plumbing
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: colin.campbell at ptfs-europe.com
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Use of the Switch module is depreciated in perl 12 and above and generates
warnings to that effect. Occurrences in the source should be replaced.

As 3.2 is compatible with perl 5.8.8 Switch would have to be replaced by an
if/else construct. In future version of Koha (i.e. supporting 5.10 and greater
only) the given/when syntax is available.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list