Install libdevel-cycle-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libdevel-cycle-perl
Description:
Perl module to detect memory cycles in Perl objects
Devel::Cycle is a developer's tool for finding memory cycles in Perl objects. Since Perl provides its automatic memory management using reference counting, cyclical/circular references will result in memory that will never be freed. Optionally, PadWalker (libpadwalker-perl) module enables reporting of cycles in code closures as well.
Homepage: http://search.cpan.org/dist/Devel-Cycle/
Version: 1.11-2
Section: universe/perl