|There's more than one way to do things|
Is a good or bad idead to "use feature 'switch'"?by glasswalk3r (Pilgrim)
|on Sep 03, 2013 at 14:45 UTC||Need Help??|
glasswalk3r has asked for the
wisdom of the Perl Monks concerning the following question:
Today I started using perl 5.18 with my code and I was not pleased to see lots of warning saying that when is experimental.
While perldelta teaches how to disable the warnings, it also says:
Simply suppress the warning if you want to use the feature, but know that in doing so you are taking the risk of using an experimental feature which may change or be removed in a future Perl version
I wondering if it is not a better idea to go back using labeled blocks to simulate the functionality of given and when. I also saw that smart matching has problem on it's own and I already had some issues with it.
What do you recommend for this king of situation for long term code?
Alceu Rodrigues de Freitas Junior
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill