Bug#773630: perldoc -f lc perhaps should be enhanced ...

積丹尼 Dan Jacobson jidanni at jidanni.org
Sun Dec 21 06:48:06 UTC 2014


Package: perl-doc
Severity: wishlist

perldoc -f lc perhaps should be enhanced to cover this case:

$ perl -wle '$h{1}=88; $h{0}=33; $h{a}=99; $_="A"; print $h{lc};'
Use of uninitialized value in print at -e line 1.

$ perl -wle '$h{1}=88; $h{0}=33; $h{a}=99; $_="A"; print $h{(lc)};'
99




More information about the Perl-maintainers mailing list