use experimental 'smartmatch';
Just be aware that smartmatch is pretty much consigned to history now. It's OK(ish) for little one-offs but I would not be basing any new code on it myself.
🦛
In reply to Re: [Perl 5.26][Linux LEAP] Array/List/Hash misunderstanding
by hippo
in thread [Perl 5.26][Linux LEAP] Array/List/Hash misunderstanding
by soundlord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |