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

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

karl williamson
January 30, 2011 15:30
[perl #83048] Warn on chr(-1)
Message ID:
# New Ticket Created by  karl williamson 
# Please include the string:  [perl #83048]
# in the subject line of all future correspondence about this issue. 
# <URL: >

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. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About