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


Code:
IO::Handle.new(:path(‘-’)).path.say

Result:
"".IO


OK, let's try "".IO


Code:
"".IO

Result:
Must specify something as a path: did you mean '.' for the current directory?
  in block <unit> at -e line 1


It does not work. But this does:

Code:
"-".IO.say

Result:
"".IO

Reply via email to