perl-Acme-CPANModules-ModernPreambles-0.001-alt1.noarch.rpm


Advertisement

Description

perl-Acme-CPANModules-ModernPreambles - Modules that offer modern preambles

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Acme-CPANModules-ModernPreambles-0.001-alt1.noarch.rpm
Package name perl-Acme-CPANModules-ModernPreambles
Package version 0.001
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 23.96 KB
Installed size 23.96 KB
Modules that offer modern preambles.
The overwhelming convention for coding Perl properly code is to at least add the
following preamble:
use strict;
use warnings;
to the beginning of your code. But some people say that's not enough, and they
develop modules/pragmas that bundle the above incantation plus some additional
stuffs. For example:
use Modern::Perl '2018';
is equivalent to:
use strict;
use warnings;
use feature ':5.26';
mro::set_mro( scalar caller(), 'c3' );
I think the Modern::Perl manpage is one of the first to popularize this modern preamble
concept and a bunch of similar preambles emerged. This list catalogs them.
Meanwhile, you can also use:
use v5.12; # enables strict and warnings, as well as all 5.12 features (see the feature manpage for more details on new features of each perl release)
and so on, but this also means you set a minimum Perl version.

Alternatives

Package Version Architecture Repository
perl-Acme-CPANModules-ModernPreambles - - -

Requires

Name Value
/usr/share/perl5 -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Acme/CPANModules/ModernPreambles.pm) = 0.001
perl-Acme-CPANModules-ModernPreambles = 0.001-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Acme-CPANModules-ModernPreambles-0.001-alt1.noarch.rpm
Source Package perl-Acme-CPANModules-ModernPreambles-0.001-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Acme-CPANModules-ModernPreambles rpm package:
    # sudo apt-get install perl-Acme-CPANModules-ModernPreambles

Files

Path
/usr/share/doc/perl-Acme-CPANModules-ModernPreambles-0.001/Changes
/usr/share/doc/perl-Acme-CPANModules-ModernPreambles-0.001/LICENSE
/usr/share/doc/perl-Acme-CPANModules-ModernPreambles-0.001/README
/usr/share/perl5/Acme/
/usr/share/perl5/Acme/CPANModules/ModernPreambles.pm

See Also

Package Description
perl-Acme-CPANModules-MooseStyleClassBuilder-0.001-alt1.noarch.rpm Moose-style (Perl 6-style) class builders
perl-Acme-CPANModules-NO_COLOR-0.003-alt1.noarch.rpm Modules that follow the NO_COLOR convention
perl-Acme-CPANModules-NonMooseStyleClassBuilder-0.001-alt1.noarch.rpm Non-Moose-style class builders
perl-Acme-CPANModules-OneLetter-0.001-alt1.noarch.rpm One-letter CPAN modules
perl-Acme-CPANModules-Org-0.001-alt1.noarch.rpm Modules related to Org format
perl-Acme-CPANModules-PERLANCAR-RsyncEnhancements-0.001-alt1.noarch.rpm List of my enhancements for rsync
perl-Acme-CPANModules-PERLANCAR-Temp-Plus-0.001-alt1.noarch.rpm Modules I plus while MetaCPAN's ++ is not working
perl-Acme-CPANModules-Parse-UnixCommands-0.001-alt1.noarch.rpm Modules that parse output of Unix commands
perl-Acme-CPANModules-Parse-UnixConfigs-0.001-alt1.noarch.rpm Modules that parse Unix config (or related) files
perl-Acme-CPANModules-PickingRandomItemsFromList-0.001-alt1.noarch.rpm Picking random items from a list
perl-Acme-CPANModules-PickingRandomLinesFromFile-0.001-alt1.noarch.rpm Picking random lines from a file
perl-Acme-CPANModules-PortedFrom-Java-0.001-alt1.noarch.rpm Modules/applications that are ported from (or inspired by) Java
perl-Acme-CPANModules-PortedFrom-NPM-0.001-alt1.noarch.rpm Modules/applications that are ported (or inspired from) NPM libraries
perl-Acme-CPANModules-PortedFrom-Python-0.001-alt1.noarch.rpm Modules/applications that are ported from (or inspired by) Python libraries
perl-Acme-CPANModules-PortedFrom-Ruby-0.001-alt1.noarch.rpm Modules/applications that are ported from (or inspired by) Ruby libraries
Advertisement
Advertisement