How To Install perl-MooseX-AttributeShortcuts on Fedora 36

In this tutorial we learn how to install perl-MooseX-AttributeShortcuts in Fedora 36. perl-MooseX-AttributeShortcuts is Shorthand for common Moose attribute options

Introduction

In this tutorial we learn how to install perl-MooseX-AttributeShortcuts on Fedora 36.

What is perl-MooseX-AttributeShortcuts

Ever find yourself repeatedly specifying writers and builders, because there’s no good shortcut to specify them? Sometimes you want an attribute to have a read-only public interface, but a private writer. And wouldn’t it be easier to just say “builder => 1” and have the attribute construct the canonical “build$name” builder name for you? This package causes an attribute trait to be applied to all attributes defined to the using class. This trait extends the attribute option processing to handle the above variations.

We can use yum or dnf to install perl-MooseX-AttributeShortcuts on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MooseX-AttributeShortcuts.

Install perl-MooseX-AttributeShortcuts on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-MooseX-AttributeShortcuts using dnf by running the following command:

sudo dnf -y install perl-MooseX-AttributeShortcuts

Install perl-MooseX-AttributeShortcuts on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-MooseX-AttributeShortcuts using yum by running the following command:

sudo yum -y install perl-MooseX-AttributeShortcuts

How To Uninstall perl-MooseX-AttributeShortcuts on Fedora 36

To uninstall only the perl-MooseX-AttributeShortcuts package we can use the following command:

sudo dnf remove perl-MooseX-AttributeShortcuts

perl-MooseX-AttributeShortcuts Package Contents on Fedora 36

/usr/share/doc/perl-MooseX-AttributeShortcuts
/usr/share/doc/perl-MooseX-AttributeShortcuts/Changes
/usr/share/doc/perl-MooseX-AttributeShortcuts/README
/usr/share/licenses/perl-MooseX-AttributeShortcuts
/usr/share/licenses/perl-MooseX-AttributeShortcuts/LICENSE
/usr/share/man/man3/MooseX::AttributeShortcuts.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Attribute.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Attribute::HasAnonBuilder.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Method::Builder.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Method::HasDefinitionContext.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Role::Attribute.3pm.gz
/usr/share/man/man3/MooseX::AttributeShortcuts::Trait::Role::Method::Builder.3pm.gz
/usr/share/perl5/vendor_perl/MooseX
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Attribute
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Attribute.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Attribute/HasAnonBuilder.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Method
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Method/Builder.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Method/HasDefinitionContext.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Role
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Role/Attribute.pm
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Role/Method
/usr/share/perl5/vendor_perl/MooseX/AttributeShortcuts/Trait/Role/Method/Builder.pm

References

Summary

In this tutorial we learn how to install perl-MooseX-AttributeShortcuts on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).