view release on metacpan or search on metacpan
lib/App/Scrobble.pm view on Meta::CPAN
# ABSTRACT: Command line scrobbling app
package App::Scrobble;
use Moose;
use namespace::autoclean;
with 'MooseX::Getopt::Dashes',
'MooseX::SimpleConfig';
our $VERSION = '0.03'; # VERSION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SeismicUnixGui/misc/color_listbox.pm view on Meta::CPAN
=head2 Notes from bash
=cut
use Moose;
#use namespace::autoclean; # best-practices hygiene
our $VERSION = '0.0.1';
=head2 Import modules
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
local/lib/perl5/Dist/CheckConflicts.pm view on Meta::CPAN
use Dist::CheckConflicts
-dist => 'Class-MOP',
-conflicts => {
'Moose' => '1.14',
'namespace::autoclean' => '0.08',
},
-also => [
'Package::Stash::Conflicts',
];
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SimplenoteSync.pm view on Meta::CPAN
use File::ExtAttr ':all';
use Proc::InvokeEditor;
use App::SimplenoteSync::Note;
use WebService::Simplenote;
use Method::Signatures;
use namespace::autoclean;
has ['email', 'password'] => (
is => 'ro',
isa => 'Str',
required => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SimulateReads/Base.pm view on Meta::CPAN
use Try::Tiny ();
use Hook::AfterRuntime;
use Import::Into;
use Data::OptList;
use Module::Runtime 'use_module';
use namespace::autoclean;
our $VERSION = '0.16'; # VERSION
BEGIN {
$SIG{'__DIE__'} = sub {
lib/App/SimulateReads/Base.pm view on Meta::CPAN
#This must come after anything else that might change warning
# levels in the caller (e.g. Moose)
warnings->import('FATAL'=>'all');
warnings->unimport('experimental::smartmatch') if $] >= 5.018;
namespace::autoclean->import(
-cleanee => $caller,
-except => \@no_clean,
);
return;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Software/License.pm view on Meta::CPAN
use File::Spec::Functions qw/catfile/;
use Module::Runtime qw/use_module/;
use Software::License;
use Config::Any;
use namespace::autoclean 0.16 -except => [qw/_options_data _options_config/];
#pod =head1 SYNOPSIS
#pod
#pod software-license --holder 'J. Random Hacker' --license Perl_5 --type notice
#pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/SpreadRevolutionaryDate.pm view on Meta::CPAN
use Encode;
BEGIN {
$ENV{OUTPUT_CHARSET} = 'UTF-8';
bind_textdomain_filter 'App-SpreadRevolutionaryDate' => \&Encode::decode_utf8, Encode::FB_DEFAULT;
}
use namespace::autoclean;
has 'config' => (
is => 'ro',
isa => 'App::SpreadRevolutionaryDate::Config',
required => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Menlo/Sqitch.pm view on Meta::CPAN
URI-Nested
URI-db
XML-Tiny
YAML-Tiny
libintl-perl
namespace-autoclean
namespace-clean
strictures
Overlapping dependencies
Carp
view all matches for this distribution
view release on metacpan or search on metacpan
examples/complex/lib/App/Standby/Cmd/Command/complex.pm view on Meta::CPAN
use 5.010_000;
use mro 'c3';
use feature ':5.10';
use Moose;
use namespace::autoclean;
# use IO::Handle;
# use autodie;
# use MooseX::Params::Validate;
# use Carp;
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Params::Util 0
Scalar::Util 0
String::RewritePrefix 0.005
Types::Standard 0
lib 0
namespace::autoclean 0
perl 5.012
strict 0
warnings 0
Perl-PrereqScanner-Scanner-DistBuild-0.001
pathname: L/LE/LEONT/Perl-PrereqScanner-Scanner-DistBuild-0.001.tar.gz
cpanfile.snapshot view on Meta::CPAN
goto::file 0.005
requirements:
ExtUtils::MakeMaker 0
Filter::Util::Call 0
perl 5.008001
namespace-autoclean-0.31
pathname: E/ET/ETHER/namespace-autoclean-0.31.tar.gz
provides:
namespace::autoclean 0.31
requirements:
B 0
B::Hooks::EndOfScope 0.12
ExtUtils::MakeMaker 0
List::Util 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/TailRabbit/Growl.pm view on Meta::CPAN
package App::TailRabbit::Growl;
use Moose;
use Mac::Growl;
use MooseX::Types::Moose qw/ Bool /;
use namespace::autoclean;
our $VERSION = '0.001';
extends 'App::TailRabbit';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/TailRabbit.pm view on Meta::CPAN
use AnyEvent;
use YAML qw/LoadFile/;
use File::HomeDir;
use Path::Class qw/ file /;
use MooseX::Types::LoadableClass qw/ LoadableClass /;
use namespace::autoclean;
our $VERSION = '0.003';
with qw/
MooseX::Getopt
view all matches for this distribution
view release on metacpan or search on metacpan
t/type_params.t view on Meta::CPAN
use builtin qw( true false );
package Horse {
use Moo;
use Types::Standard qw( Object );
use Type::Params -sigs;
use namespace::autoclean;
# ...; # define attributes, etc
signature_for add_child => (
# method => true,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/TimeTracker/Data/Task.pm view on Meta::CPAN
use 5.010;
use Moose;
use App::TimeTracker::Utils qw(now);
use namespace::autoclean;
use App::TimeTracker;
use DateTime::Format::ISO8601;
use DateTime::Format::Duration;
use User::pwent;
use MooseX::Storage;
view all matches for this distribution
view release on metacpan or search on metacpan
- First CPAN release on an unsuspecting world.
0.31 20110318
- POD fixes.
- Migration to Module::Install for easier building.
0.32 20110320
- Removal of namespace::autoclean dependency for easier building.
- Removal of DateTime dependency for easier building.
- Migration to Mouse for easier building and size.
0.33 20110321
- Fix cornercase base == 0.
- Fix cornercase servername eq ''.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ValidateBankAccount.pm view on Meta::CPAN
use 5.006;
use Data::Dumper;
use BankAccount::Validator::UK;
use App::ValidateBankAccount::Option;
use Moo;
use namespace::autoclean;
use MooX::Options;
with 'App::ValidateBankAccount::Option';
our $DEFAULT_COUNTRY = 'uk';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/ValidateSortCode.pm view on Meta::CPAN
use utf8::all;
use Data::Dumper;
use BankAccount::Validator::UK;
use App::ValidateSortCode::Option;
use Moo;
use namespace::autoclean;
use MooX::Options;
with 'App::ValidateSortCode::Option';
our $DEFAULT_COUNTRY = 'uk';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Validation/Automation.pm view on Meta::CPAN
use Carp;
use Switch;
use Moose;
use Net::SSH::Perl;
use namespace::autoclean;
use English qw(-no_match_vars);
=head1 NAME
App::Validation::Automation
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/af.pm view on Meta::CPAN
use 5.014;
package App::af 0.18 {
use Moose::Role;
use namespace::autoclean;
use Getopt::Long qw( GetOptionsFromArray );
use Pod::Usage qw( pod2usage );
# ABSTRACT: Command line tool for alienfile
lib/App/af.pm view on Meta::CPAN
}
package App::af::role::alienfile 0.18 {
use Moose::Role;
use namespace::autoclean;
use MooseX::Types::Path::Tiny qw( AbsPath );
use Path::Tiny qw( path );
use File::Temp qw( tempdir );
has file => (
lib/App/af.pm view on Meta::CPAN
}
package App::af::role::phase 0.18 {
use Moose::Role;
use namespace::autoclean;
has phase => (
is => 'ro',
isa => 'Str',
default => 'all',
lib/App/af.pm view on Meta::CPAN
}
package App::af::role::libandblib 0.18 {
use Moose::Role;
use namespace::autoclean;
use Path::Tiny qw( path );
has I => (
is => 'ro',
isa => 'ArrayRef[Str]',
lib/App/af.pm view on Meta::CPAN
}
package App::af::opt 0.18 {
use Moose::Role;
use namespace::autoclean;
has short => (
is => 'rw',
isa => 'Str',
default => '',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/calendr.pm view on Meta::CPAN
require => 1,
inner => 0,
max_depth => 2;
use Moo;
use namespace::autoclean;
our $DEFAULT_CALENDAR = 'Gregorian';
our $FAILED_CALENDARS = {};
use Types::Standard -all;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/colourhexdump.pm view on Meta::CPAN
with qw( MooseX::Getopt::Dashes );
use Getopt::Long::Descriptive;
use Term::ANSIColor 3.00 qw( colorstrip );
use App::colourhexdump::Formatter;
use namespace::autoclean;
has colour_profile => (
metaclass => 'Getopt',
isa => 'Str',
is => 'rw',
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/TestData.pm view on Meta::CPAN
phase => 'runtime',
relationship => 'requires',
version => '0',
},
{
module => 'namespace::autoclean',
phase => 'runtime',
relationship => 'requires',
version => '0',
},
{
t/lib/TestData.pm view on Meta::CPAN
depends => [
'perl-module-runtime',
'perl-moose',
'perl-moosex-getopt>=0.18',
'perl-moosex-object-pluggable>=0.0009',
'perl-namespace-autoclean',
'perl-pathtools',
'perl-scalar-list-utils',
'perl-task-weaken',
'perl-term-ansicolor',
'perl-term-readline',
t/lib/TestData.pm view on Meta::CPAN
depends=(
'perl-module-runtime'
'perl-moose'
'perl-moosex-getopt>=0.18'
'perl-moosex-object-pluggable>=0.0009'
'perl-namespace-autoclean'
'perl-pathtools'
'perl-scalar-list-utils'
'perl-task-weaken'
'perl-term-ansicolor'
'perl-term-readline'
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/build.moose.log view on Meta::CPAN
Checking if you have version 0 ... Yes (0.9912)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
Checking if you have Text::Template 0 ... Yes (1.46)
Checking if you have Try::Tiny 0 ... Yes (0.22)
Checking if you have CPAN::Meta::Validator 2.101550 ... Yes (2.150005)
Checking if you have namespace::autoclean 0 ... Yes (0.26)
Checking if you have Software::LicenseUtils 0 ... Yes (0.103010)
Checking if you have MooseX::Types::Path::Class 0 ... Yes (0.06)
Checking if you have Text::Glob 0.08 ... Yes (0.09)
Checking if you have CPAN::Meta::Merge 0 ... Yes (2.150005)
==> Found dependencies: App::Cmd::Setup
t/data/build.moose.log view on Meta::CPAN
# Text::Glob 0.08 0.09
# Text::Template any 1.46
# Try::Tiny any 0.22
# YAML::Tiny any 1.67
# autodie any 2.27
# namespace::autoclean any 0.26
# parent any 0.234
# strict any 1.09
# version any 0.9912
# warnings any 1.32
#
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/grindperl.pm view on Meta::CPAN
use Path::Class;
use File::Spec;
use Carp qw/carp croak/;
use File::Copy qw/copy/;
use File::HomeDir 0.98;
use namespace::autoclean;
sub new {
my $class = shift;
my $self = bless {}, $class;
view all matches for this distribution
view release on metacpan or search on metacpan
.claude/skills/perl-core/SKILL.md view on Meta::CPAN
## Moose / OOP style
- **`lazy_build => 1` + `sub _build_foo`** is strongly preferred over `default => sub { ... }` for anything non-trivial. Keeps attribute declarations clean.
- **`weak_ref => 1`** on attributes that hold a reference back to a parent/owner object. Standard for nested Moose object graphs â prevents circular refs.
- **`namespace::autoclean`** on every class file. For classes that extend DBIx::Class (`MooseX::NonMoose` pattern), use **`MooseX::MarkAsMethods autoclean => 1`** instead.
- **`no Moose;` + `__PACKAGE__->meta->make_immutable;`** at the bottom of every Moose class.
- **`my ( $self ) = @_;`** â explicit destructure, not `my $self = shift;`. Space inside the parens.
- **Explicit import lists with `qw( ... )`** â `use Foo qw( bar baz );`. Never rely on default exports unless they're documented as stable.
### Methods, not bare subs
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/mkfeyorm.pm view on Meta::CPAN
use [% SCHEMA %];
use Moose;
use MooseX::SemiAffordanceAccessor;
use MooseX::StrictConstructor;
use namespace::autoclean;
sub load {
my $class = shift;
return unless $class;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/perlimports/Document.pm view on Meta::CPAN
'MooseX::SemiAffordanceAccessor' => 1,
'MooseX::StrictConstructor' => 1,
'MooseX::TraitFor::Meta::Class::BetterAnonClassNames' => 1,
'MooseX::Types' => 1,
'MooX::StrictConstructor' => 1,
'namespace::autoclean' => 1,
'namespace::clean' => 1,
'PerlIO::gzip' => 1,
'Regexp::Common' => 1,
'Sort::ByExample' => 1,
'Struct::Dumb' => 1,
view all matches for this distribution
view release on metacpan or search on metacpan
perlcriticrc view on Meta::CPAN
exclude_functions = sleep
severity = 3
[Moose::RequireCleanNamespace]
modules = Moose Moose::Role MooseX::Role::Parameterized Moose::Util::TypeConstraints
cleaners = namespace::autoclean
[NamingConventions::Capitalization]
package_exemptions = [A-Z]\w+|main
file_lexical_variables = [A-Z]\w+|[^A-Z]+
global_variables = :starts_with_upper
view all matches for this distribution