File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -4956,4 +4956,15 @@ The STD::Regex grammar also adds these:
4956
4956
mod_internal:sym<P5> m:/ ... :P5 ... /
4957
4957
quantifier:sym<*> /.*/
4958
4958
4959
+ =head1 Deprecations
4960
+
4961
+ A language that doesn't evolve, is a dead language. Constructs that
4962
+ seem like a good idea now, may turn out not to be such a good idea in the
4963
+ future. Such constructs will thus need to be deprecated. To mark a construct
4964
+ as being deprecated, one can add the "is DEPRECATED($alternative)" trait to
4965
+ a class, an attribute, or a sub / method. During execution, this will cause
4966
+ the caller sites to be recorded without any warnings. When execution finishes,
4967
+ a report should be printed to STDERR stating which deprecated features where
4968
+ called where.
4969
+
4959
4970
=for vim:set expandtab sw=4:
You can’t perform that action at this time.
0 commit comments