in reply to [Perl 5.26][Linux LEAP] Array/List/Hash misunderstanding
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.
🦛
|
|---|