Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-3929

Switch.pm being deprecated, used in gen.pl

XMLWordPrintable

      gen.pl, used in "make dbschema" step, uses Switch.

      Switch.pm was a core perl module, which is in the process of being removed.

      from http://stackoverflow.com/questions/844616/obtain-a-switch-case-behaviour-in-perl-5 :

      "Furthermore, Switch.pm will be the first Perl module ever to be removed from the perl core. The next major release of perl, 5.12.0, will still have it, albeit with a deprecation warning. That deprecation warning will go away if you explicitly install Switch.pm from CPAN. (You get what you ask for.) In the next release down the road, 5.14, Switch.pm will be entirely removed from core."

      some distributions already contain perl 5.14, and gen.pl does not work on them without installing additional modules. it should be updated so that it only uses Switch.pm on perl < 5.12

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: