![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Experimental warnings with given/whenby Bod (Friar) |
on Nov 30, 2020 at 22:54 UTC ( #11124422=perlquestion: print w/replies, xml ) | Need Help?? |
Bod has asked for the wisdom of the Perl Monks concerning the following question: given and when were introduced back in Perl v5.10 I believe. But they have not been deprecated...I know deprecation of an accepted feature is very, very rare in Perl but these are marked as experimental. I've been looking at them more for curiosity than any need to use them. Even with use experimental "switch"; they give a warning. I wasn't sure if this was on STDOUT or STDERR so I redirected STDERR and found that the warnings are not on there! I thought that use feature ... gave the warnings and use experimental ... didn't but in both cases I am getting the warnings. So, presumably, use warnings; overrides the experimental part.
Given that deprecation is so very rare, is it safe to suppress the warnings and use some of the experimental features?
Back to
Seekers of Perl Wisdom
|
|