File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ allowed:
131
131
# Perl 5
132
132
my @books = $xml->parse_file($file) # some comment
133
133
->findnodes("/library/book");
134
-
134
+
135
135
# Perl 6
136
136
my @books = $xml.parse-file($file)\ # some comment
137
137
.findnodes("/library/book");
@@ -269,11 +269,11 @@ C<&foo;> I<and> C<goto &foo;> I<for re-using the caller's argument list / replac
269
269
270
270
sub foo { say "before"; &bar; say "after" } # Perl 5
271
271
sub foo { say "before"; bar(|@_); say "after" } # Perl 6 - have to be explicit
272
-
272
+
273
273
# TODO: Suggest .callsame once it has been implemented in Rakudo.
274
274
275
275
sub foo { say "before"; goto &bar } # Perl 5
276
-
276
+
277
277
# TODO: Suggest .nextsame and .nextwith once they've been implemented in Rakudo.
278
278
= end item
279
279
You can’t perform that action at this time.
0 commit comments