view release on metacpan or search on metacpan
lib/AI/TensorFlow/Libtensorflow/ApiDefMap.pm view on Meta::CPAN
package AI::TensorFlow::Libtensorflow::ApiDefMap;
# ABSTRACT: Maps Operation to API description
$AI::TensorFlow::Libtensorflow::ApiDefMap::VERSION = '0.0.7';
use strict;
use warnings;
use namespace::autoclean;
use AI::TensorFlow::Libtensorflow::Lib qw(arg);
my $ffi = AI::TensorFlow::Libtensorflow::Lib->ffi;
$ffi->mangler(AI::TensorFlow::Libtensorflow::Lib->mangler_default);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AI/XGBoost/Booster.pm view on Meta::CPAN
# ABSTRACT: XGBoost main class for training, prediction and evaluation
use Moose;
use AI::XGBoost::CAPI qw(:all);
use namespace::autoclean;
has _handle => ( is => 'rw',
init_arg => undef, );
sub update {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/API/DeutscheBahn/Fahrplan.pm view on Meta::CPAN
package API::DeutscheBahn::Fahrplan;
use Moose;
use namespace::autoclean;
# VERSION
our $VERSION = '0.02';
# IMPORTS
view all matches for this distribution
view release on metacpan or search on metacpan
lib/API/Handle.pm view on Meta::CPAN
{
$API::Handle::VERSION = '0.02';
}
use Moose::Role;
use namespace::autoclean;
use HTTP::Request;
use bytes;
use feature ':5.10';
use String::CamelCase qw/camelize decamelize/;
use Tie::Hash::Indexed;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# \t\$(PERLRUN) -MExtUtils::Autoconf -e 'ExtUtils::Autoconf->run_autogen'
# configure :
# \t\$(PERLRUN) -MExtUtils::Autoconf -e'ExtUtils::Autoconf->run_configure'
# autoclean :
# \t\$(PERLRUN) -MExtUtils::Autoconf -e'ExtUtils::Autoconf->run_realclean'
# realclean purge ::
# \t\$(PERLRUN) -MExtUtils::Autoconf -e 'ExtUtils::Autoconf->run_realclean'
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
view release on metacpan or search on metacpan
lib/Abilities.pm view on Meta::CPAN
# ABSTRACT: Simple, hierarchical user authorization for web applications, with optional support for plan-based (paid) services.
use Carp;
use Hash::Merge qw/merge/;
use Moo::Role;
use namespace::autoclean;
our $VERSION = "0.5";
$VERSION = eval $VERSION;
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANLists/Import/PerlAdvent/2011.pm view on Meta::CPAN
package Acme::CPANLists::Import::PerlAdvent::2011;
our $DATE = '2016-11-06'; # DATE
our $VERSION = '0.001'; # VERSION
our @Module_Lists = ({description=>"This list is generated by extracting module names mentioned in [http://perladvent.org/2011/] (retrieved on 2016-11-06). Visit the URL for the full contents.",entries=>[{module=>"ExtUtils::MakeMaker"},{module=>"Modu...
1;
# ABSTRACT: Modules mentioned in Perl Advent Calendar 2011
__END__
lib/Acme/CPANLists/Import/PerlAdvent/2011.pm view on Meta::CPAN
=item * L<Data::Section>
=item * L<Sub::Exporter::ForMethods>
=item * L<namespace::autoclean>
=item * L<namespace::clean>
=item * L<Carp>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANLists/Import/PerlAdvent/2014.pm view on Meta::CPAN
package Acme::CPANLists::Import::PerlAdvent::2014;
our $DATE = '2016-11-06'; # DATE
our $VERSION = '0.001'; # VERSION
our @Module_Lists = ({description=>"This list is generated by extracting module names mentioned in [http://perladvent.org/2014/] (retrieved on 2016-11-06). Visit the URL for the full contents.",entries=>[{module=>"File::Temp"},{module=>"Test::TempDir...
1;
# ABSTRACT: Modules mentioned in Perl Advent Calendar 2014
__END__
lib/Acme/CPANLists/Import/PerlAdvent/2014.pm view on Meta::CPAN
=item * L<WWW::Mechanize>
=item * L<ZeroMQ>
=item * L<namespace::autoclean>
=item * L<Data::ICal>
=item * L<Data::ICal::DateTime>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANLists/Import/PerlAdvent/2017.pm view on Meta::CPAN
package Acme::CPANLists::Import::PerlAdvent::2017;
our $DATE = '2018-01-01'; # DATE
our $VERSION = '0.001'; # VERSION
our @Module_Lists = ({description=>"This list is generated by extracting module names mentioned in [http://perladvent.org/2017/] (retrieved on 2018-01-01). Visit the URL for the full contents.",entries=>[{module=>"App::GHPT::Wrapper::Ourperl"},{modul...
1;
# ABSTRACT: Modules mentioned in Perl Advent Calendar 2017
__END__
lib/Acme/CPANLists/Import/PerlAdvent/2017.pm view on Meta::CPAN
=item * L<Reindeer>
=item * L<Try::Tiny>
=item * L<namespace::autoclean>
=item * L<SQL::Abstract>
=item * L<Params::Validate>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Import/PerlAdvent/2011.pm view on Meta::CPAN
{ module => "App::cpanoutdated" },
{ module => "CPAN" },
{ module => "CPANPLUS" },
{ module => "Data::Section" },
{ module => "Sub::Exporter::ForMethods" },
{ module => "namespace::autoclean" },
{ module => "namespace::clean" },
{ module => "Carp" },
{ module => "Carp::Always" },
{ module => "Carp::Always::Color" },
{ module => "Module::Which" },
lib/Acme/CPANModules/Import/PerlAdvent/2011.pm view on Meta::CPAN
=item * L<Data::Section>
=item * L<Sub::Exporter::ForMethods>
=item * L<namespace::autoclean>
=item * L<namespace::clean>
=item * L<Carp>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Import/PerlAdvent/2014.pm view on Meta::CPAN
{ module => "Test::RequiresInternet" },
{ module => "Text::Xslate" },
{ module => "Tiffany" },
{ module => "WWW::Mechanize" },
{ module => "ZeroMQ" },
{ module => "namespace::autoclean" },
{ module => "Data::ICal" },
{ module => "Data::ICal::DateTime" },
{ module => "DateTime" },
{ module => "DateTime::Format::ICal" },
{ module => "Capture::Tiny" },
lib/Acme/CPANModules/Import/PerlAdvent/2014.pm view on Meta::CPAN
=item * L<WWW::Mechanize>
=item * L<ZeroMQ>
=item * L<namespace::autoclean>
=item * L<Data::ICal>
=item * L<Data::ICal::DateTime>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Import/PerlAdvent/2017.pm view on Meta::CPAN
package Acme::CPANModules::Import::PerlAdvent::2017;
our $DATE = '2018-02-18'; # DATE
our $VERSION = '0.001'; # VERSION
our $LIST = {description=>"This list is generated by extracting module names mentioned in [http://perladvent.org/2017/] (retrieved on 2018-02-18). Visit the URL for the full contents.",entries=>[{module=>"App::GHPT::Wrapper::Ourperl"},{module=>"Term:...
1;
# ABSTRACT: Modules mentioned in Perl Advent Calendar 2017
__END__
lib/Acme/CPANModules/Import/PerlAdvent/2017.pm view on Meta::CPAN
=item * L<Reindeer>
=item * L<Try::Tiny>
=item * L<namespace::autoclean>
=item * L<SQL::Abstract>
=item * L<Params::Validate>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CatalystX/ILoveDebug.pm view on Meta::CPAN
package Acme::CatalystX::ILoveDebug;
use Moose::Role;
use namespace::autoclean;
our $VERSION = '0.01';
requires 'uri_for';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/DependOnEverything.pm view on Meta::CPAN
use Nagios::Status::ServiceStatus;
use Nagios::WebTransact;
use Nagios::WebTransact::Timed;
use namespace;
use namespace::alias;
use namespace::autoclean;
use namespace::clean;
use namespace::clean::xs;
use namespace::functions;
use namespace::lexical;
use namespace::local;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MungeInstallers.pm view on Meta::CPAN
# vim: set ts=8 sts=2 sw=2 tw=100 et :
use utf8;
use Moose;
with 'Dist::Zilla::Role::InstallTool';
use namespace::autoclean;
# TODO - this should really be a separate phase that runs after InstallTool -
# until then, all we can do is die if we are run too soon
sub setup_installer {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Machi.pm view on Meta::CPAN
use Data::Dumper;
use Cwd;
use Carp;
#import CPAN libs
use namespace::autoclean;
=head1 NAME
Machi - Awesome Machi here!
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Marvel/CinematicUniverse/Mite.pm view on Meta::CPAN
sub lazy () { 'lazy' } sub bare () { 'bare' }
# More complicated constants
BEGIN {
my @bool = ( \&false, \&true );
*_HAS_AUTOCLEAN = $bool[ 0+!! eval { require namespace::autoclean } ];
*STRICT = $bool[ 0+!! ( $ENV{PERL_STRICT} || $ENV{EXTENDED_TESTING} || $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING} ) ];
};
# Exportable error handlers
sub _error_handler {
lib/Acme/Marvel/CinematicUniverse/Mite.pm view on Meta::CPAN
}
}
'warnings'->import;
'strict'->import;
'namespace::autoclean'->import( -cleanee => $caller )
if _HAS_AUTOCLEAN && !$arg{'-unclean'};
}
{
my ( $cb_before, $cb_after );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Mitey/Cards/Mite.pm view on Meta::CPAN
sub lazy () { 'lazy' } sub bare () { 'bare' }
# More complicated constants
BEGIN {
my @bool = ( \&false, \&true );
*_HAS_AUTOCLEAN = $bool[ 0+!! eval { require namespace::autoclean } ];
*STRICT = $bool[ 0+!! ( $ENV{PERL_STRICT} || $ENV{EXTENDED_TESTING} || $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING} ) ];
};
# Exportable error handlers
sub _error_handler {
lib/Acme/Mitey/Cards/Mite.pm view on Meta::CPAN
}
}
'warnings'->import;
'strict'->import;
'namespace::autoclean'->import( -cleanee => $caller )
if _HAS_AUTOCLEAN && !$arg{'-unclean'};
}
{
my ( $cb_before, $cb_after );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/SaBalTongMun.pm view on Meta::CPAN
our $VERSION = '1.100830';
use Moose;
# ENCODING: utf-8
# ABSTRACT: make a round robin (ì¬ë°íµë¬¸, æ²é¢éæ)
use namespace::autoclean;
use common::sense;
use GD;
use List::Util qw( max );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/eng2kor.pm view on Meta::CPAN
use Const::Fast;
use URI::Escape qw/uri_escape_utf8/;
use HTTP::Request;
use HTTP::Response;
use LWP::UserAgent;
use namespace::autoclean;
const my $GOOGLE_TRANSLATE_API_URL => "http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=%s&langpair=%s";
const my @SUPPORT_LANG_TAGS => qw/ach af ak am ar az be bem bg bh bn br bs ca co cs cy da de el en eo es et eu fa fi fo fr fy ga gd gl gn gu ha haw hi hr ht hu hy ia id ig is it iw ja jw ka kg kk km kn ko ku ky la lg ln lo lt lua lv mfe mg mi mk ml m...
subtype 'LangTags'
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acrux/DBI.pm view on Meta::CPAN
B<Options:>
=over 8
=item autoclean
This options turns on auto disconnecting on DESTROY phase
=back
lib/Acrux/DBI.pm view on Meta::CPAN
my $opts = scalar(@_) ? scalar(@_) > 1 ? {@_} : {%{$_[0]}} : {};
my $uri = Mojo::URL->new($url);
# Default attributes
my %_opts = (%{(DEFAULT_DBI_OPTS)}, %$opts);
my $autoclean = delete $_opts{autoclean};
my $self = bless {
url => $url,
uri => $uri,
dsn => '',
cachekey=> '',
driver => '',
dbh => undef,
error => "", # Ok
autoclean => $autoclean ? 1 : 0,
opts => {%_opts},
cache => Mojo::Cache->new,
}, $class;
return $self;
}
lib/Acrux/DBI.pm view on Meta::CPAN
}
sub DESTROY {
my $self = shift;
printf STDERR "DESTROY on phase %s\n", ${^GLOBAL_PHASE} if DEBUG;
return if ${^GLOBAL_PHASE} eq 'DESTRUCT';
return unless $self->{autoclean};
$self->disconnect;
printf STDERR "Auto cleanup on DESTROY completed\n" if DEBUG;
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Crux/Plugin/Log.pm view on Meta::CPAN
=head1 OPTIONS
This plugin supports the following options
=head2 autoclean
$app->plugin(Log => undef, {autoclean => 1});
This option enables cleaning (closing handler or syslog) on DESTROY
Default: C<logautoclean> command line option or C<logautoclean> application argument
or C<LogAutoclean> configuration value or C<0> otherwise
=head2 color
$app->plugin(Log => undef, {color => 1});
lib/Acme/Crux/Plugin/Log.pm view on Meta::CPAN
sub register {
my ($self, $app, $args) = @_;
my $has_config = $app->can('config') ? 1 : 0;
# Autoclean flag: PLGARGS || OPTS || ORIG || CONF || DEFS
my $autoclean = is_true_flag($args->{autoclean}) # From plugin arguments first
|| $app->getopt("logautoclean") # From command line options
|| $app->orig->{"logautoclean"} # From App arguments
|| ($has_config ? $app->config->get("/logautoclean") : 0); # From config file
# Colorize flag: PLGARGS || OPTS || ORIG || CONF || DEFS
my $colorize = is_true_flag($args->{color}) # From plugin arguments first
|| $app->getopt("logcolorize") # From command line options
|| $app->orig->{"logcolorize"} # From App arguments
lib/Acme/Crux/Plugin/Log.pm view on Meta::CPAN
elsif ($provider eq 'file') { $logger = $handle = undef }
elsif ($provider eq 'handle') { $logger = undef }
# Create instance
my $log = Acrux::Log->new(
autoclean => $autoclean,
color => $colorize, # !!
facility => $facility,
file => $file,
format => $frmt, # !!
handle => $handle,
view all matches for this distribution
view release on metacpan or search on metacpan
0.24 2014-05-21 15:53:27 Europe/Amsterdam
* fix typo
0.23 2013-12-24 02:06:03 Europe/Paris
* *really* don't depend on namespace::autoclean, duh...
0.22 2013-12-21 23:46:15 Europe/Amsterdam
* don't depend on Test::Most, Test::Pretty and namespace::autoclean
0.21 2013-02-11 11:47:44 Europe/Paris
* fix initial_term_index, plus test
0.20 2013-02-08 18:34:46 Europe/Paris
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Adam.pm view on Meta::CPAN
$Adam::VERSION = '0.91';
}
# ABSTRACT: The patriarch of IRC Bots
# Dist::Zilla: +PodWeaver
use MooseX::POE;
use namespace::autoclean;
use POE::Component::IRC::Common qw( :ALL );
use POE qw(
Component::IRC::State
Component::IRC::Plugin::PlugMan
lib/Adam.pm view on Meta::CPAN
Start the IRC bot. This method also works as a Class Method and will
instanciate the bot if called as such.
=head1 DEPENDENCIES
L<MooseX::POE|MooseX::POE>, L<namespace::autoclean|namespace::autoclean>,
L<MooseX::Alias|MooseX::Alias>, L<POE::Component::IRC|POE::Component::IRC>,
L<MooseX::Getopt|MooseX::Getopt>,
L<MooseX::SimpleConfig|MooseX::SimpleConfig>,
L<MooseX::LogDispatch|MooseX::LogDispatch>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/Australia.pm view on Meta::CPAN
use Address::PostCode::UserAgent;
use Address::PostCode::Australia::Place;
use Address::PostCode::Australia::Params qw(validate);
use Moo;
use namespace::autoclean;
extends 'Address::PostCode::UserAgent';
our $BASE_URL = 'https://auspost.com.au/api/postcode/search.json';
has 'auth_key' => (is => 'ro', required => 1);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/India.pm view on Meta::CPAN
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::India::Place;
use Moo;
use namespace::autoclean;
extends 'Address::PostCode::UserAgent';
our $BASE_URL = 'http://getpincodes.info/api.php';
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/UK.pm view on Meta::CPAN
use Address::PostCode::UK::Place::Ward;
use Address::PostCode::UK::Place::Council;
use Address::PostCode::UK::Place::Constituency;
use Moo;
use namespace::autoclean;
extends 'Address::PostCode::UserAgent';
our $BASE_URL = 'http://uk-postcodes.com';
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Address/PostCode/UserAgent.pm view on Meta::CPAN
use HTTP::Tiny;
use Address::PostCode::UserAgent::Exception;
use Moo;
use namespace::autoclean;
has 'ua'=> (is => 'rw', default => sub { HTTP::Tiny->new(agent => "Address-PostCode-UserAgent/v1"); } );
=head1 DESCRIPTION
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/Easing/Cubic.pm view on Meta::CPAN
use constant EPSILON => 0.000001;
extends 'Algorithm::Easing::Ease';
use namespace::autoclean;
sub ease_in {
my $self = shift;
my ($t,$b,$c,$d) = (shift,shift,shift,shift);
view all matches for this distribution