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


[10:41:11] <lizmat>      r: module Foo { module Bar { say $?PACKAGE } }  # 
shouldn't this need to say (Foo::Bar) ???
[10:41:12] <+camelia>    rakudo b2072f: OUTPUT«(Bar)␤»
[10:53:53] <lizmat>     TimToady: do you have an opinion on "module Foo { 
module Bar { say $?PACKAGE } }  # shouldn't this need to say (Foo::Bar) ???"
[10:54:17] <TimToady>    lizmat: I'd think so
[10:54:50] <jnthn>       Wait, stringifying a type object gives the short nam,e 
no?
[10:55:20] <lizmat>      ah, how to get the long name then?
[10:55:32] <jnthn>       .WHO iirc, though not sure that does the Right thing 
yet.
[10:55:54] <pmichaud>    $?PACKAGE.WHO stringifies to long name
[10:56:13] <jnthn>       Right
[10:56:17] <jnthn>       well, *should* :)
[10:56:34] <lizmat>      rn: module Foo { module Bar { say $?PACKAGE.WHO } }
[10:56:37] <+camelia>    ..rakudo b2072f: OUTPUT«().hash␤»
[10:56:59] lizmat        adapts rakudobug before sending off

Reply via email to