A note to myself and others who have had trouble with HEREDOCs in Perl 6: the syntax has changed. Try something like:
# Pugs/Perl 6 configuration, autogenerated from pugs -V.
# our configuration info
my %Config = (
instead of using "<<". (Note the "q" followed by ":to" followed by the terminator "/endSAY/"...)