Package: libmail-box-perl
Version: 2.117-1
Severity: minor
File: /usr/share/perl5/Mail/Message/Field.pm
Tags: patch

$ perl -cw /usr/share/perl5/Mail/Message/Field.pm
Name "Mail::Message::Field::size" used only once: possible typo at 
/usr/share/perl5/Mail/Message/Field.pm line 102.
/usr/share/perl5/Mail/Message/Field.pm syntax OK

Even though it doesn't break anything, it's ugly. Possibilities for fixes:

- Rewrite it to a sub (will be slower in theory)
- Define a call somewhere to size, so it is used again. For example, add
  the following to the line below:
 
  { my $sub = sub{ size(); }; }

  The anonymous sub goes directly out of scope, so this doesn't clutter
  the namespace.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libmail-box-perl depends on:
ii  libdevel-globaldestruction-perl  0.13-1
ii  libdigest-hmac-perl              1.03+dfsg-1
ii  libfile-remove-perl              1.52-1
ii  libio-stringy-perl               2.110-5
ii  libmailtools-perl                2.13-1
ii  libmime-types-perl               2.09-3
ii  libobject-realize-later-perl     0.19-1
ii  libtimedate-perl                 2.3000-2
ii  liburi-perl                      1.64-1
ii  libuser-identity-perl            0.94-1
ii  perl                             5.20.1-3

libmail-box-perl recommends no packages.

Versions of packages libmail-box-perl suggests:
ii  libhtml-format-perl      2.11-1
ii  libhtml-tree-perl        5.03-1
pn  libmail-imapclient-perl  <none>
ii  libmime-tools-perl       5.505-1
pn  spamassassin             <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to