Back in June, Dave Mitchell started a thread titled "disabling
smartmatch and when()?"
http://nntp.perl.org/group/perl.perl5.porters/264087
During the discussion, it was noted that using smartmatch throws the
warning "Smartmatch is experimental", and that even though
"experimental" is documented to also mean "can be removed at any time",
we want to make it clear using smartmatch is officially *discouraged*.
The PSC believes we should make it explicit in this warning that
smartmatch is deprecated / discouraged.
During one of our PSC meetings Paul noted that, contrary to
"experimental", the "deprecated" warning does not group more specific
warnings, and that he sometimes found it would be useful to be able pick
which deprecation warnings to silence.
My goal starting this thread is to discuss:
- the wording of a better warning message for experimental::smartmatch
- the creation of a new group of warnings ("deprecated" already exists,
we might not need to find a new word), of which the ::smartmatch
warning would be part
--
Philippe Bruhat (BooK)
When you deal in weapons, there are no winners... only losers.
(Moral from Groo The Wanderer #31 (Epic))