![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Endorsement from committer to submit TPF Grant Application to add given/when to Switch.pmby ait (Hermit) |
on Apr 01, 2024 at 13:47 UTC ( [id://11158622]=perlquestion: print w/replies, xml ) | Need Help?? |
ait has asked for the wisdom of the Perl Monks concerning the following question: Hi there, fellow monks! If a committer is reading this, I would like to submit a grant not for myself for for Switch.pm author or any other volunteer to add given/when to Switch.pm It's ironic that such a widely used module (Switch.pm) actually recommended for people to migrate to given/when and now Perl core decided to deprecate starting in 5.38 Adding a simplified, mostly compatible given/when in Switch.pm would save a lot of people a lot of trouble. I can suspect that most people just used it as a fancy if/elsif/else and did not use a lot of the smart matching capabilities, although I could be wrong. In any case, I think that in TIMTOWTDI tradition, we should add given/when to Switch.pm and allow most people to simply replace use feature 'switch' by use Switch I am confident a committer will pick up this thread and endorse this proposal in my TPF Grant application, so I will just link this tread ;-)
TIA
Back to
Seekers of Perl Wisdom
|
|