# New Ticket Created by "brian d foy" # Please include the string: [perl #132549] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132549 >
This comes from an answer to a Perl 6 question on Stackoverflow that showed a different bug: https://stackoverflow.com/q/45527881/2766176 With put() it does not and gives a strange error: $ perl6 -e 'put any( 1, 3, 7 ) ' This type cannot unbox to a native string: P6opaque, Junction in block <unit> at -e line 1 $ perl6 -e 'put( any( 1, 3, 7 ) )' This type cannot unbox to a native string: P6opaque, Junction in block <unit> at -e line 1 With say it has no problem: $ perl6 -e 'say any( 1, 3, 7 )' any(1, 3, 7) $ perl6 -e 'put any( 1, 3, 7 ).gist' any(1, 3, 7) I'd expect anything that can .gist would be able to .Str. This is Rakudo 2017.10 on macOS 10.13.