How to Install libclass-data-accessor-perl in Ubuntu 18.04



Install libclass-data-accessor-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libclass-data-accessor-perl

Description:

Inheritable, overridable class and instance data accessor creation

Class::Data::Accessor is the marriage of Class::Accessor and Class::Data::Inheritable into a single module. It is used for creating accessors to class properties that is overridable in subclasses as well as in class instances. . For example: . Pere::Ubu->mk_classaccessor('Suitcase'); . will generate the method Suitcase() in the class Pere::Ubu. . This new method can be used to get and set a piece of class property. . Pere::Ubu->Suitcase('Red'); $suitcase = Pere::Ubu->Suitcase;

Homepage: https://metacpan.org/release/Class-Data-Accessor

Version: 0.04004-2

Section: universe/perl