# New Ticket Created by  Alex Jakimenko 
# Please include the string:  [perl #125684]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125684 >


Code:
say 0b000l01;

Result:
===SORRY!=== Error while compiling ./test.pl
Confused
at ./test.pl:2
------> say 0b000⏏l01;

The error message could be better. For example:
Code:
say :2<000l01>;

Result:
===SORRY!===
Invalid character 'L' in number literal

It would be great (if it is easy to implement) if it also mentioned that it
is a hex/binary/octal number (not just a number literal), because some
people might be unaware of that notation (kid-friendly error messages?).

IRC log: http://irclog.perlgeek.de/perl6/2015-07-24#i_10951220

Reply via email to