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


An itemized empty list is getting ".perl"-stringified as "$()", which
I think is wrong since $() means some idiom using "$/". The fix should
be just to make it stringify as "$( )" (with a space in the middle) or
maybe "().item" for clarity. (Maybe in a future version of the
language, the syntax "$()" could be made to really mean a itemized
empty list.)

> say $( ).perl
$()

> say ().item.perl
$()

> 'foo' ~~ /o+/; say $()
oo

Reply via email to