How to Install libobject-declare-perl in Ubuntu 18.04



Install libobject-declare-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libobject-declare-perl

Description:

declarative object constructor

Object::Declare exports one function, declare, for building named objects with a declarative syntax, similar to how Jifty::DBI::Schema defines its columns. . In list context, declare returns a list of name/object pairs in the order of declaration (allowing duplicates), suitable for putting into a hash. In scalar context, declare returns a hash reference. . Example: function for defining some declarative object . sub do_declare { declare { column x => is rw, is Very::Happy; } };

Homepage: https://metacpan.org/release/Object-Declare

Version: 0.23-1

Section: universe/perl