Paul Marquess <Paul(_dot_)Marquess(_at_)ntlworld(_dot_)com> writes:
I agree that passing undef() to one of the encoding functions may be an edge
condition toois more
common.
<Paraphase>
nick(_at_)bactrian 1078$ perl -w -e "print undef"
Use of uninitialized value in print at -e line 1.
nick(_at_)bactrian 1079$ perl -w -e "print $a"
Use of uninitialized value in print at -e line 1.
nick(_at_)bactrian 1080$ perl -w -e '$a =~ tr/A/a/'
Name "main::a" used only once: possible typo at -e line 1.
Use of uninitialized value in transliteration (tr///) at -e line 1.
I agree that passing undef() to print/tr functions may be an edge
condition too far, but passing a variable that contains undef is more
common.
Can this be detected & silenced?
</Paraphrase>
Yes it could but we don't for very good reasons.
--
Nick Ing-Simmons
http://www.ni-s.u-net.com/