How to Install libreturn-type-perl in Ubuntu 18.04



Install libreturn-type-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libreturn-type-perl

Description:

specify a return type for a function (optionally with coercion)

Return::Type allows you to specify a return type for your subs. Type constraints from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.

Homepage: https://metacpan.org/release/Return-Type

Version: 0.005-1

Section: universe/perl