Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
coke committed Oct 17, 2016
1 parent 2caf533 commit 8ed3d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/traps.pod6
Expand Up @@ -483,7 +483,7 @@ The C<once> block is a block of code that will only run once when it's parent bl
}
say "Variable = $var"; # "Variable = 1"
This functionallity also applies to other code blocks like C<sub> and C<while>, not just C<for> loops. Problems arise though, when trying to nest C<once> blocks inside of other code blocks:
This functionality also applies to other code blocks like C<sub> and C<while>, not just C<for> loops. Problems arise though, when trying to nest C<once> blocks inside of other code blocks:
my $var = 0;
for 1..10 {
Expand Down

0 comments on commit 8ed3d19

Please sign in to comment.