[Debconf-devel] Bug#723841: debconf: triggers perl warnings "length() used on @choices"

Niels Thykier niels at thykier.net
Fri Sep 20 11:29:40 UTC 2013


Package: debconf
Version: 1.5.51
Severity: minor

Hi,

I managed to trigger some perl warnings in sid when I set
DEBIAN_FRONTEND to a bad value:

"""
# DEBIAN_FRONTEND=Dialog dpkg-reconfigure -plow debconf
debconf: Please do not capitalize the first letter of the debconf frontend.
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
length() used on @choices (did you mean "scalar(@choices)"?) at /usr/share/perl5/Debconf/Element/Teletype/Select.pm line 48, <GEN1> line 4.
length() used on @choices (did you mean "scalar(@choices)"?) at /usr/share/perl5/Debconf/Element/Teletype/Select.pm line 63, <GEN1> line 4.
"""

~Niels



More information about the Debconf-devel mailing list