Install libparse-method-signatures-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libparse-method-signatures-perl
Perl module to parse Perl6-like method signatures
Parse::Method::Signatures takes a method signature and extracts information about it. For users of Perl5 who are unfamiliar with this feature, it is essentially what prototypes are to other languages like C, where methods and functions have parameterized lists that can also optionally enforce data type constraints. It is useful to process Perl6 code, but also the subset of Perl6 supported backported to Perl5 via Moose. . This is primarily intended as a utility module to be used by developers that work with either Moose or Perl6 code, such as MooseX::Method::Signatures (see libmoosex-method-signatures-perl).