Uploaded image for project: 'Labs (Retired)'
  1. Labs (Retired)
  2. LABS-506

[PULSE] listex-report.pl uninitialised value $mods

    XMLWordPrintableJSON

Details

    Description

      Queries can generate the following errors:

      Use of uninitialized value $mods in substitution (s///) at /usr/local/labs/pulse/email-query/listex-report.pl line 360, <STDIN> line 36.
      Use of uninitialized value $mods in concatenation (.) or string at /usr/local/labs/pulse/email-query/listex-report.pl line 361, <STDIN> line 36.

      The error means the lists without moderators are not reported.

      Line 359:
      my $mods = $listinfo->

      {moderators};
      could be changed to:
      my $mods = $listinfo->{moderators}

      || '';

      which should prevent the errors.

      Attachments

        Activity

          People

            coar Ken Coar
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: