# New Ticket Created by James E Keenan
# Please include the string: [perl #127482]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=127482 >
The following program passes a compilation check but fails to run.
#####
$ cat attempted_printf.pl6
#!/usr/bin/env perl6
my $integer = 6;
printf("%-20s%-20s%-20s\n" => $integer, $integer.WHAT, $integer.perl);
#####
$ perl6 -c attempted_printf.pl6
Syntax OK
#####
$ perl6 attempted_printf.pl6
Type check failed in binding $format; expected Cool but got Pair
in block <unit> at attempted_printf.pl6 line 5
#####
Feature or bug?
#####
$ perl6 -v
This is Rakudo version 2016.01.1 built on MoarVM version 2016.01
implementing Perl 6.c.
Thank you very much.
--
James E Keenan ([email protected])