Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix order of named and positional parameters.
Thanks to David H Adler and James E Keenan in RT #77220
  • Loading branch information
moritz committed Aug 23, 2010
1 parent 917d907 commit 677ac11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subs-n-sigs.pod
Expand Up @@ -353,7 +353,7 @@ Appending a C<!> makes it mandatory.

=begin programlisting

sub design-ice-cream-mixture(:$name!, $base = 'Vanilla') {
sub design-ice-cream-mixture($base = 'Vanilla', :$name!) {
say "Creating a new recipe named $name!"
}

Expand Down

0 comments on commit 677ac11

Please sign in to comment.