Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[HTML::Template] chased Rakudo change

No longer flatten lists in a scalar variable. Need to explicitly call
C<.list>. Also, no longer any need to C<// ()>, because that's implicit
now.
  • Loading branch information...
commit f841583f6130e5fd5814909b6be7d2d5bcdb098f 1 parent e154bb6
@masak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/HTML/Template.pm
View
2  lib/HTML/Template.pm
@@ -36,7 +36,7 @@ method parse( $in? ) {
method substitute( $contents, %params ) {
my $output = ~$contents<plaintext>;
- for ($contents<chunk> // ()) -> $chunk {
+ for $contents<chunk>.list -> $chunk {
if $chunk<directive><insertion> -> $i {
my $key = ~$i<attributes><name>;
Please sign in to comment.
Something went wrong with that request. Please try again.