Skip to content

Commit

Permalink
[subs] correct syntax in an example
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed May 13, 2010
1 parent fb682c4 commit 4bdbcd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subs-n-sigs.pod
Expand Up @@ -711,9 +711,9 @@ Is this a little too cute?

=begin programlisting

sub create-world(%{:temporary, *%characteristics}) {
sub create-world(%(:$temporary, *%characteristics)) {
my $world = World.new(%characteristics);
return $world if :temporary;
return $world if $temporary;

save-world($world);
}
Expand Down

0 comments on commit 4bdbcd4

Please sign in to comment.