# New Ticket Created by Paweł Pabian
# Please include the string: [perl #114124]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114124 >
I've made this stupid mistake and was unable to find bug (space between bracket
and open) due to misleading error message.
$ perl6 -e 'my $f = open ("logo_32x32.png", :bin); say $f.read(1e5).bytes;
$f.close;'
This type cannot unbox to a native string
moritz @ 1:54
still the error is LTA
it should eithe constrain the type to Str, or should coerce to it
tadzik @ 1:55
the first thing we ever put into Perl::Critic is checking for things like this
subcall (foo); "please write me as subcall((foo)) to not confuse everybody"