File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ All these forms may produce a return value the same way C<loop> does.
681
681
682
682
= head2 X < once|control flow >
683
683
684
- A block prefix with once will be executed exactly once, even if placed inside a
684
+ A block prefix with C < once > will be executed exactly once, even if placed inside a
685
685
loop or a recursive routine.
686
686
687
687
my $guard = 3;
@@ -691,6 +691,14 @@ loop or a recursive routine.
691
691
print 'many'
692
692
} # OUTPUT « oncemanymanymany »
693
693
694
+ = head2 X < quietly|control flow >
695
+
696
+ A C < quietly > block will suppress warnings.
697
+
698
+ quietly { warn 'kaput!' };
699
+ warn 'still kaput!';
700
+ OUTPUT « still kaput! [...] »
701
+
694
702
= head2 LABELs
695
703
696
704
C < while > , C < until > , and C < for > loops can all take a label, which can be
You can’t perform that action at this time.
0 commit comments