In Statement prefixes§
See primary documentation in context for quietly
As a prefix, quietly
suppresses all runtime warnings produced by the block or statement it precedes.
sub marine() ;quietly say ~; # OUTPUT: «marine»sub told-you ;quietly ;warn 'Telling you now!'; # OUTPUT: «Telling you now! [...] »
Calling .Str
on code
produces a warning. Preceding the code with quietly
will just produce the output without warning.