in reply to Re: any replacements for smartmatch on comparing two arrays
in thread any replacements for smartmatch on comparing two arrays
However, you should IMHO carefully consider whether you really want to do that. The smart match was for a time a full-fledged feature of Perl 5 and has been "downgraded" to "experimental" with Perl 5.20 if I remember correctly. This implies that it could be strongly modified or even removed in a future version, meaning that your program might cease to work after a Perl upgrade. Frankly, I would not use that feature for any program that is not a one-off script and might be used in the future.no warnings 'experimental::smartmatch';
Update: Sorry for a posting mistake: this post was meant as an answer to the OP, not to Discipulus's post. Too late, I am afraid, to do anything about it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: any replacements for smartmatch on comparing two arrays
by Discipulus (Canon) on Sep 24, 2015 at 07:54 UTC |