develooper Front page | perl.perl5.porters | Postings from January 2011

[perl #83048] Warn on chr(-1)

From:
karl williamson
Date:
January 30, 2011 15:30
Subject:
[perl #83048] Warn on chr(-1)
Message ID:
rt-3.6.HEAD-20807-1296430244-1975.83048-75-0@perl.org
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #83048]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=83048 >


Taking chr() of a negative number doesn't make sense.  Currently, the 
REPLACEMENT character is silently substituted.  But, there should be 
some notice given of this, as a small portion of Bug # 51936.  The other 
parts of that ticket are about to be resolved, so this splits out this 
portion so it isn't forgotten.




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About