view release on metacpan or search on metacpan
xt/author/perlcritic.rc view on Meta::CPAN
[Subroutines::ProhibitCallsToUndeclaredSubs]
exempt_subs = Dancer2::get Dancer2::post Dancer2::redirect Dancer2::template Dancer2::Plugin::DBIC::resultset
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print say
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/JavaScript.pm view on Meta::CPAN
package Data::JavaScript; ## no critic (PodSpelling)
use Modern::Perl;
use Readonly;
use Scalar::Util 'reftype';
our $VERSION = q/1.15/;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/PaginatedTable.pm view on Meta::CPAN
use 5.18.2;
use Modern::Perl;
use Moops;
class Data::PaginatedTable 1.0.0 {
use Types::XSD::Lite qw( PositiveInteger );
use Text::Table;
lib/Data/PaginatedTable.pm view on Meta::CPAN
version 1.0.0
=head1 SYNOPSIS
use Modern::Perl;
use Data::PaginatedTable;
use Data::Printer;
my @series = 'aaa' .. 'zzz';
lib/Data/PaginatedTable.pm view on Meta::CPAN
=head2 fill_direction, fill_direction ( Enum[ 'vertical', 'horizontal' ] default => 'horizontal' )
Gets or sets the order in which C<data> elements will be used to fill the two-dimensional array of each C<page>.
use Modern::Perl;
use Data::PaginatedTable;
my @series = 1 .. 9;
my $pt = Data::PaginatedTable->new(
lib/Data/PaginatedTable.pm view on Meta::CPAN
=head2 as_html
The html C<string_mode> stringifies the C<current> C<page> as a plain html table. All C<page> elements are placed in string context (see L<overload>).
use Modern::Perl;
use Data::PaginatedTable;
my @series = 1 .. 12;
my $pt = Data::PaginatedTable->new(
lib/Data/PaginatedTable.pm view on Meta::CPAN
=head2 as_preformatted
The preformatted C<string_mode> uses L<Text::Table> to format the C<current> C<page>. All C<page> elements are placed in string context (see L<overload>).
use Modern::Perl;
use Data::PaginatedTable;
my @series = 1 .. 12;
my $pt = Data::PaginatedTable->new(
view all matches for this distribution
view release on metacpan or search on metacpan
t/Test/abeltje.pm view on Meta::CPAN
abeltje_done_testing();
=head1 DESCRIPTION
Mostly nicked from other modules (like L<Modern::Perl>)...
This gives you L<Test::More>, L<Test::Fatal>, L<Test::Warnings> and also imports
for you: L<strict>, L<warnings>, the L<feature> with the C<:5.10> tag and L<lib>
with the C<t/lib> path.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Promise.pm view on Meta::CPAN
Data::Promise - simple promise like interface
=head1 SYNOPSIS
use Modern::Perl;
use Data::Promose;
my $p=new Data::Promise(cb=>sub {
my ($resolve,$reject)=@_;
lib/Data/Promise.pm view on Meta::CPAN
=cut
our $VERSION=0.001;
use Modern::Perl;
use Moo;
use MooX::Types::MooseLike::Base qw(:all);
use namespace::clean;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Queue.pm view on Meta::CPAN
Stack, with the ablity to add and remove elements by id on the fly. Elements go in and out of the stack in the id order.
=cut
use Modern::Perl;
use Moo;
use Data::Result;
use namespace::clean;
our $VERSION='1.0002';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Result.pm view on Meta::CPAN
package Data::Result;
use Modern::Perl;
use Moo;
use MooX::Types::MooseLike::Base qw(:all);
use Carp qw(croak);
use Scalar::Util qw(blessed);
use boolean;
lib/Data/Result.pm view on Meta::CPAN
Data::Result - Handling true and false in a better way!
=head1 SYNOPSIS
use Modern::Perl;
use Data::Result;
# just true
my $result=Data::Result->new(is_true=>0);
if($result) {
view all matches for this distribution
view release on metacpan or search on metacpan
perlcriticrc view on Meta::CPAN
[-RegularExpressions::RequireLineBoundaryMatching]
[-InputOutput::RequireCheckedSyscalls]
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
# [-Documentation::PodSpelling]
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build|trigger_)\w+
view all matches for this distribution
view release on metacpan or search on metacpan
perlcriticrc view on Meta::CPAN
[-RegularExpressions::RequireLineBoundaryMatching]
[-InputOutput::RequireCheckedSyscalls]
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
# [-Documentation::PodSpelling]
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build|trigger_)\w+
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Data/Type/Digger.pm view on Meta::CPAN
L<http://www.perlfoundation.org/artistic_license_2_0>
=cut
use v5.14.0;
use Modern::Perl;
use Clone;
use Scalar::Util;
use Exporter 'import';
our $VERSION = '0.06';
view all matches for this distribution
view release on metacpan or search on metacpan
t/perlcriticrc view on Meta::CPAN
# add_themes =
# severity = 5
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "strict".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::NonMoose, MooseX::Role::Parameterized, M...
# equivalent_modules =
# Always `use warnings'.
[TestingAndDebugging::RequireUseWarnings]
t/perlcriticrc view on Meta::CPAN
# add_themes =
# severity = 4
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "warnings".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::NonMoose, MooseX::Role::Parameterized, M...
# equivalent_modules =
# Don't use the comma operator as a statement separator.
[ValuesAndExpressions::ProhibitCommaSeparatedStatements]
view all matches for this distribution
view release on metacpan or search on metacpan
t/perlcritic.rc view on Meta::CPAN
# add_themes =
# severity = 5
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "strict".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::NonMoose, MooseX::Role::Parameterized, M...
# equivalent_modules =
# Always `use warnings'.
[TestingAndDebugging::RequireUseWarnings]
t/perlcritic.rc view on Meta::CPAN
# add_themes =
# severity = 4
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "warnings".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::NonMoose, MooseX::Role::Parameterized, M...
# equivalent_modules =
# Don't use the comma operator as a statement separator.
[ValuesAndExpressions::ProhibitCommaSeparatedStatements]
view all matches for this distribution
view release on metacpan or search on metacpan
perlcriticrc view on Meta::CPAN
[-RegularExpressions::RequireLineBoundaryMatching]
[-InputOutput::RequireCheckedSyscalls]
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
# [-Documentation::PodSpelling]
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build|trigger_)\w+
view all matches for this distribution
view release on metacpan or search on metacpan
examples/everything.pl view on Meta::CPAN
#!/usr/bin/perl
# example use case
# perl -Ilib -d:Agent -MDevel::Agent::EveryThing examples/everything.pl
use Modern::Perl;
A();
B(2);
view all matches for this distribution
view release on metacpan or search on metacpan
.perlcriticrc view on Meta::CPAN
# add_themes =
# severity = 5
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "strict".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::MethodAttributes::Role, MooseX::NonMoose...
equivalent_modules = Repobase::Base Repobase::Base::Moose Repobase::Base::Moose::Role Perceptyx::Base Perceptyx::Base::Moose Perceptyx::Base::Moose::Role Test::Perceptyx::Base
# Always `use warnings'.
[TestingAndDebugging::RequireUseWarnings]
.perlcriticrc view on Meta::CPAN
# add_themes =
# severity = 4
# maximum_violations_per_document = 1
# The additional modules to treat as equivalent to "warnings".
# Values that are always included: Any::Moose, Dancer, Dancer2, Mo, Modern::Perl, Mojo::Base, Mojolicious::Lite, Moo, Moo::Role, Moos, Moose, Moose::Exporter, Moose::Role, Moose::Util::TypeConstraints, MooseX::MethodAttributes::Role, MooseX::NonMoose...
equivalent_modules = Repobase::Base Repobase::Base::Moose Repobase::Base::Moose::Role Perceptyx::Base Perceptyx::Base::Moose Perceptyx::Base::Moose::Role Test::Perceptyx::Base
# Don't use the comma operator as a statement separator.
[-ValuesAndExpressions::ProhibitCommaSeparatedStatements]
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Device/Cisco/NXAPI.pm view on Meta::CPAN
use 5.020;
use strict;
use warnings;
use Moose;
use Modern::Perl;
use LWP::UserAgent;
use HTTP::Request;
use Data::Dumper;
use JSON;
use Carp;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Device/Network/ConfigParser.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use Modern::Perl;
use Getopt::Long;
use Pod::Usage;
use Perl6::Slurp;
use Module::Load;
use Data::Dumper;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Device/PaloAlto/Firewall.pm view on Meta::CPAN
our $VERSION = '0.091'; # VERSION - generated by DZP::OurPkgVersion
use Device::PaloAlto::Firewall::Test;
use Moose;
use Modern::Perl;
use LWP::UserAgent;
use HTTP::Request;
use Carp;
use Params::Validate qw{:all};
use URI;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/App/Command/externaldeps.pm view on Meta::CPAN
package Dist::Zilla::App::Command::externaldeps; ## no critic (Capitalization)
# ABSTRACT: print external libraries and binaries prerequisites
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
our $VERSION = '1.009'; # VERSION
use utf8;
#pod =for test_synopsis
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Subversion/ReleaseDist.pm view on Meta::CPAN
use Moose;
with 'Dist::Zilla::Role::Subversion';
with 'Dist::Zilla::Role::Releaser' => { -version => 4.101550 };
use English qw(-no_match_vars);
use Modern::Perl;
use MooseX::Types::URI 'Uri';
use namespace::autoclean;
has 'dist_url' => (
is => 'ro',
view all matches for this distribution
view release on metacpan or search on metacpan
perlcritic.rc view on Meta::CPAN
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl Moops Moo Moose
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Upload/OrePAN2.pm view on Meta::CPAN
package Dist::Zilla::Plugin::Upload::OrePAN2;
use Modern::Perl;
our $VERSION = '0.0001'; # VERSION
our $AUTHORITY = 'cpan:GEEKRUTH'; # AUTHORITY
# ABSTRACT: Dist::Zilla release plugin to inject into a local OrePAN2 repository
use Carp;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/WSDL.pm view on Meta::CPAN
package Dist::Zilla::Plugin::WSDL;
# ABSTRACT: WSDL to Perl classes when building your dist
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
our $VERSION = '0.208'; # VERSION
use utf8;
#pod =head1 SYNOPSIS
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/MintingProfile/GEEKRUTH.pm view on Meta::CPAN
package Dist::Zilla::MintingProfile::GEEKRUTH;
use Modern::Perl;
our $VERSION = '2.0000'; # VERSION
our $AUTHORITY = 'cpan:GEEKRUTH'; # AUTHORITY
# ABSTRACT: GEEKRUTH's Dist::Zilla minting profiles
view all matches for this distribution
view release on metacpan or search on metacpan
perlcritic.rc view on Meta::CPAN
[TestingAndDebugging::RequireUseStrict]
equivalent_modules = Modern::Perl Moops Moo Moose
view all matches for this distribution
view release on metacpan or search on metacpan
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Modem::VBox
Modem::Vgetty
Modern
Modern::Open
Modern::PBP
Modern::Perl
Module
Module::Abstract
Module::Advisor
Module::AnyEvent
Module::AutoINC
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/MintingProfile/GEEKRUTH.pm view on Meta::CPAN
package Dist::Zilla::MintingProfile::GEEKRUTH;
use Modern::Perl;
our $VERSION = '2.0002'; # VERSION
our $AUTHORITY = 'cpan:GEEKRUTH'; # AUTHORITY
# ABSTRACT: GEEKRUTH's Dist::Zilla minting profiles
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dist/Zilla/App/Command/gl.pm view on Meta::CPAN
package Dist::Zilla::App::Command::gl 1.0002;
use Modern::Perl;
use Cwd qw(cwd);
use Dist::Zilla::App -command;
## no critic qw(ProhibitAmbiguousNames)
sub abstract {'use the GitLab plugins from the command-line'}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Dokuwiki/RPC/XML/Client.pm view on Meta::CPAN
L<wiki.getVersion|https://www.dokuwiki.org/devel:xmlrpc#dokuwikigetversion>
(which also require a call to
L<dokuwiki.login|https://www.dokuwiki.org/devel:xmlrpc#dokuwikilogin>) is:
use Dokuwiki::RPC::XML::Client;
use Modern::Perl;
my $wiki =
Dokuwiki::RPC::XML::Client
-> reach('https://wiki.example.com/');
lib/Dokuwiki/RPC/XML/Client.pm view on Meta::CPAN
getting the login and password from C<STDIN>, C<@ARGV> or hardcoded in your
source file is B<always> a bad idea. so this is an example to get things done
using the god damn old and good C<~/.netrc> file.
use Dokuwiki::RPC::XML::Client;
use Modern::Perl;
use Net::Netrc;
my $base = 'https://example.com/';
my $host = 'company';
my $wiki =
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ETLp.pm view on Meta::CPAN
class ETLp with ETLp::Role::Config {
use FindBin qw($Bin);
use Config::General qw(ParseConfig);
use ETLp::Exception;
use Try::Tiny;
use Modern::Perl;
use ETLp::Config;
use ETLp::Schema;
use ETLp::Audit::Job;
use ETLp::ItemBuilder;
use ETLp::Execute::Iteration;
view all matches for this distribution