Install libref-util-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libref-util-perl
Description:
set of utility functions for checking references
Ref::Util introduces several functions to help identify references in a faster and smarter way. In short: . ref $foo eq 'ARRAY' # is now: is_arrayref($foo)
Homepage: https://metacpan.org/release/Ref-Util
Version: 0.203-1
Section: universe/perl