view release on metacpan or search on metacpan
lib/App/MFILE/WWW/Resource.pm view on Meta::CPAN
use File::Temp qw( tempfile );
use HTTP::Request::Common qw( GET PUT POST DELETE );
use JSON;
use LWP::UserAgent;
use Params::Validate qw(:all);
use Try::Tiny;
# methods/attributes not defined in this module will be inherited from:
use parent 'Web::Machine::Resource';
# user agent lookup table
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MP4Meta/Base.pm view on Meta::CPAN
}
# ABSTRACT: Base class. Contains common functionality.
use Module::Load ();
use Try::Tiny;
use AtomicParsley::Command;
sub new {
my $class = shift;
my $args = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MechaCPAN/Install.pm view on Meta::CPAN
=head3 go( \%opts, @srcs )
There is only a single public function that should be called. This will install the modules listed in C<@srcs> using the options in C<\%opts>. The options available are listed in the L<arguments|/Arguments> section below.
# Example of calling go
App::MecahCPAN::Install->go({}, 'Try::Tiny');
=head2 Arguments
=head3 skip-tests
=head3 skip-tests-for
By default the tests of each module will be ran. If you do not want to run tests when installing modules, use this option. Alternatively, you can use C<skip-tests-for> to specify module names that will skip the tests for that module.
# Examples of --skip-tests
mechacpan install Try::Tiny --skip-tests
mechacpan install Catalyst --skip-tests-for=Moose
=head3 smart-tests
An alternative to skipping all tests is to try and be clever about which tests to run and which to skip. The smart-tests option will skip tests for any package that it considers pristine. It defines pristine modules as modules that only depend on mod...
lib/App/MechaCPAN/Install.pm view on Meta::CPAN
=head3 source
Add a source translation to the installation. This can be used to translate a module name into another form, like using an exact version of a module or pull another module from its git repo. This can be repeated multiple times for multiple translatio...
# Examples of --source
mechacpan install Catalyst --source Try::Tiny=ETHER/Try-Tiny-0.24
mechacpan install Catalyst --source Catalyst=git://git.shadowcat.co.uk/catagits/Catalyst-Runtime.git
=head3 only-sources
Do not use modules not listed in the source list. This means if you do not specify every module and every prerequisite in the source list, then it will not be installed. This doesn't sound very useful since you would be potentially listing hundreds o...
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Microsite/Assemble.pm view on Meta::CPAN
use strict;
use warnings;
use File::Next;
use Path::Class;
use JSON;
use Try::Tiny;
use Text::Handlebars;
use Text::Xslate 'mark_raw';
sub assemble {
my $class = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Midgen.pm view on Meta::CPAN
use File::Find qw(find);
use File::Spec;
use Module::CoreList;
use PPI;
use Term::ANSIColor qw( :constants colored colorstrip );
use Try::Tiny;
use Tie::Static qw(static);
use version;
# stop rlib from Fing all over cwd
our $Working_Dir = getcwd();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Mimosa/Controller/Root.pm view on Meta::CPAN
use File::Spec::Functions;
use Bio::GMOD::Blast::Graph;
use App::Mimosa::Job;
use App::Mimosa::Database;
use Try::Tiny;
use DateTime;
use HTML::Entities;
use Digest::SHA1 qw/sha1_hex/;
#use Carp::Always;
use Cwd;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MiseEnPlace.pm view on Meta::CPAN
use autodie;
use Carp;
use File::HomeDir;
use Path::Tiny;
use Term::ANSIColor;
use Try::Tiny;
use Types::Standard -types;
use YAML qw/ LoadFile /;
use Moo;
use MooX::HandlesVia;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Module/Template.pm view on Meta::CPAN
use File::Path qw/make_path/;
use File::Spec;
use Getopt::Std;
use POSIX qw(strftime);
use Template;
use Try::Tiny;
our (@EXPORT_OK, %EXPORT_TAGS);
@EXPORT_OK = qw(
run
_get_config
lib/App/Module/Template.pm view on Meta::CPAN
=item * POSIX
=item * Template
=item * Try::Tiny
=back
=head1 INCOMPATIBILITIES
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MonM/Channel/Email.pm view on Meta::CPAN
use CTK::ConfGenUtil;
use CTK::TFVals qw/ :ALL /;
use Email::Sender::Simple qw//;
use Email::Sender::Transport::SMTP;
use Try::Tiny;
use App::MonM::Util qw/ set2attr /;
sub sendmsg {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Multigit.pm view on Meta::CPAN
use Future::Utils qw(fmap);
use Path::Class;
use Config::INI::Reader;
use Config::INI::Writer;
use IPC::Run;
use Try::Tiny;
use App::Multigit::Future;
use App::Multigit::Repo;
use App::Multigit::Loop qw(loop);
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
ExtUtils::MakeMaker 0
Module::Implementation 0.04
Module::Runtime 0.012
Package::Stash 0.14
Scalar::Util 0
Try::Tiny 0
base 0
perl 5.006
strict 0
warnings 0
Class-Load-XS-0.09
cpanfile.snapshot view on Meta::CPAN
Role::Identifiable::HasIdent 0
StackTrace::Auto 0
Test::More 0.96
Throwable 0
Tie::IxHash 0
Try::Tiny 0
overload 0
strict 0
warnings 0
Config-MVP-Reader-INI-2.101463
pathname: R/RJ/RJBS/Config-MVP-Reader-INI-2.101463.tar.gz
cpanfile.snapshot view on Meta::CPAN
ExtUtils::CBuilder 0
Module::Build 0.28
POSIX 0
Params::Validate 1.03
Scalar::Util 0
Try::Tiny 0
XSLoader 0
base 0
constant 0
integer 0
overload 0
cpanfile.snapshot view on Meta::CPAN
File::Find 0
File::Spec 0
List::Util 1.33
Module::Runtime 0
Params::Validate 0.72
Try::Tiny 0
constant 0
parent 0
perl 5.006
strict 0
vars 0
cpanfile.snapshot view on Meta::CPAN
Term::ReadLine 0
Term::UI 0
Test::Deep 0
Text::Glob 0.08
Text::Template 0
Try::Tiny 0
YAML::Tiny 0
autodie 0
namespace::autoclean 0
parent 0
perl 5.008005
cpanfile.snapshot view on Meta::CPAN
Dist::Zilla::Plugin::Prereqs::FromCPANfile 0.08
requirements:
Dist::Zilla 4.300017
Module::Build::Tiny 0.039
Module::CPANfile 0.903
Try::Tiny 0.1
perl 5.008001
Encode-Locale-1.05
pathname: G/GA/GAAS/Encode-Locale-1.05.tar.gz
provides:
Encode::Locale 1.05
cpanfile.snapshot view on Meta::CPAN
requirements:
Carp 0
Exporter 0
ExtUtils::MakeMaker 0
Scalar::Util 0
Try::Tiny 0
constant 0
overload 0
strict 0
warnings 0
Exporter-Tiny-0.042
cpanfile.snapshot view on Meta::CPAN
Scalar::Util 0
String::Flogger 0
Sub::Exporter 0
Sub::Exporter::GlobExporter 0.002
Sys::Syslog 0.16
Try::Tiny 0.04
overload 0
strict 0
warnings 0
Log-Log4perl-1.46
pathname: M/MS/MSCHILLI/Log-Log4perl-1.46.tar.gz
cpanfile.snapshot view on Meta::CPAN
Module::Implementation 0.09
requirements:
Carp 0
ExtUtils::MakeMaker 0
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Path-0.19
pathname: N/NE/NEILB/Module-Path-0.19.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Scalar::Util 1.19
Sub::Exporter 0.980
Sub::Identify 0
Sub::Name 0.05
Task::Weaken 0
Try::Tiny 0.17
parent 0.223
strict 1.03
warnings 1.03
MooseX-Getopt-0.68
pathname: E/ET/ETHER/MooseX-Getopt-0.68.tar.gz
cpanfile.snapshot view on Meta::CPAN
Moose::Meta::Attribute 0
Moose::Role 0.56
Moose::Util::TypeConstraints 0
MooseX::Role::Parameterized 0
Scalar::Util 0
Try::Tiny 0
namespace::autoclean 0
perl 5.006
strict 0
warnings 0
MooseX-LazyRequire-0.11
cpanfile.snapshot view on Meta::CPAN
requirements:
ExtUtils::MakeMaker 6.30
Moose::Role 0
MooseX::Role::Parameterized 0
String::Errf 0
Try::Tiny 0
namespace::clean 0
Role-Identifiable-0.007
pathname: R/RJ/RJBS/Role-Identifiable-0.007.tar.gz
provides:
Role::Identifiable undef
cpanfile.snapshot view on Meta::CPAN
Test::More 0
perl 5.005
Try-Tiny-0.24
pathname: E/ET/ETHER/Try-Tiny-0.24.tar.gz
provides:
Try::Tiny 0.24
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
constant 0
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MyPerl.pm view on Meta::CPAN
# good
use autodie qw(:all);
# better exceptions
use Try::Tiny;
use Carp;
On top of that you might find L<Scalar::Util>, L<List::Util> useful all over
your code.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Netdisco/Backend/Role/Poller.pm view on Meta::CPAN
package App::Netdisco::Backend::Role::Poller;
use Dancer qw/:moose :syntax :script/;
use Try::Tiny;
use App::Netdisco::Util::MCE;
use Time::HiRes 'sleep';
use App::Netdisco::JobQueue qw/jq_defer jq_complete/;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Office/CMS.pm view on Meta::CPAN
See lib/App/Office/CMS/.htoffice.cms.conf.
=item o Errors
As far as possible, L<Try::Tiny> is used to catch non-DBI errors.
DBI errors are caught using the HandleError attribute key in the call to
DBI's connect() method.
=back
view all matches for this distribution
view release on metacpan or search on metacpan
- Replace references to FCGI with Plack. This includes no longer
shipping FCGI-specific files and patches to Apache's httpd.conf.
- Ship httpd/cgi-bin/office/donations.psgi.
- Adopt Log::Dispatch::Configurator.
See App::Office::Contacts::Util::LogConfig.
- Replace Carp::croak with die, assuming calling code uses Try::Tiny.
- Stop using Time::Elapsed (at table create/populate time).
- In drop.tables.pl and create.tables.pl, change the 'verbose+' option
definition to 'verbose', since the '+' doesn't make sense.
- Add comments to .htoffice.donations.conf, while simplifying the
discussion of the Javascript URL.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Office/Contacts/Controller/AutoComplete.pm view on Meta::CPAN
use warnings;
use warnings qw(FATAL utf8); # Fatalize encoding glitches.
use JSON::XS;
use Try::Tiny;
# We don't use Moo because we isa CGI::Snapp.
our $VERSION = '2.04';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/OverWatch/DB.pm view on Meta::CPAN
use utf8;
use App::OverWatch::Config;
use DBIx::Connector;
use Try::Tiny;
use Module::Load qw( load );
sub new {
my $class = shift;
my $Config = shift || die "Error: require 'Config' arg";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/PGMultiDeploy.pm view on Meta::CPAN
use Moo;
use DBI;
use Carp;
use Config::IniFiles;
use PGObject::Util::DBChange;
use Try::Tiny;
=head1 NAME
App::PGMultiDeploy - OO deployment to multiple dbs for Pg
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Padadoy.pm view on Meta::CPAN
}
#ABSTRACT: Simply deploy PSGI applications
use 5.010;
use autodie;
use Try::Tiny;
use IPC::System::Simple qw(run capture $EXITVAL);
use File::Slurp;
use List::Util qw(max);
use File::ShareDir qw(dist_file);
use File::Path qw(make_path);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Pmhack.pm view on Meta::CPAN
use File::Copy qw(copy);
use Module::Load qw();
use Module::Locate qw();
use File::Path qw();
use Params::Util qw();
use Try::Tiny qw(try catch);
sub pmhack :Export
{
my $module_name = Params::Util::_CLASS(shift) or croak "Please supply a valid module name";
my $hacklib = $ENV{PERL5HACKLIB} or croak "PERL5HACKLIB environment variable not set, aborting";
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Prolix.pm view on Meta::CPAN
use IO::File;
use IPC::Run ();
use Term::ReadKey ();
use Term::ReadLine;
use Text::Balanced ();
use Try::Tiny;
use App::Prolix::MooseHelpers;
with "MooseX::Getopt";
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Redis::Sentinel 1.996
requirements:
ExtUtils::MakeMaker 6.63_03
IO::Socket::Timeout 0.29
Module::Build::Tiny 0.034
Try::Tiny 0
perl 5.006
Test-SharedFork-0.35
pathname: E/EX/EXODIST/Test-SharedFork-0.35.tar.gz
provides:
Test::SharedFork 0.35
cpanfile.snapshot view on Meta::CPAN
Time::HiRes 0
perl 5.008001
Try-Tiny-0.30
pathname: E/ET/ETHER/Try-Tiny-0.30.tar.gz
provides:
Try::Tiny 0.30
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
constant 0
view all matches for this distribution
view release on metacpan or search on metacpan
t/parse_module_and_version.t view on Meta::CPAN
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 45. Class::Load::XS, Module/Runtime.pm line 317 (FAILED)")], [qw/Class::Load::XS/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 46. Class::Load::PP 0.20, Module/Runtime.pm line 317")], [qw/Class::Load::PP 0.20/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 47. Package::Stash 0.33, Class/Load/PP.pm line 9")], [qw/Package::Stash 0.33/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 48. Package::Stash::XS 0.25, Package/Stash.pm line 24 (eval 20)")], [qw/Package::Stash::XS 0.25/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 49. Package::DeprecationManager 0.13, Package/Stash.pm line 56")], [qw/Package::DeprecationManager 0.13/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 14. Try::Tiny 0.11, Module/Implementation.pm line 10")], [qw/Try::Tiny 0.11/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 15. vars 1.02, Try/Tiny.pm line 6")], [qw/vars 1.02/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 16. warnings::register 1.02, vars.pm line 7")], [qw/warnings::register 1.02/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 17. Params::Validate::Constants 1.07, Params/Validate.pm line 13")], [qw/Params::Validate::Constants 1.07/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 19. overload 1.18, DateTime/Duration.pm line 21")], [qw/overload 1.18/], "module parse" );
cmp_deeply( [App::Prove::Plugin::TraceUse::_parse_module_and_version(" 20. overloading 0.02, overload.pm line 85")], [qw/overloading 0.02/], "module parse" );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Puppet/Environment/Updater.pm view on Meta::CPAN
use Path::Class::Dir;
use MooseX::Types::Path::Class;
use Log::Dispatchouli;
use List::MoreUtils qw(any);
use Term::ANSIColor qw(:constants);
use Try::Tiny;
use namespace::autoclean;
has 'from' => (
is => 'ro',
view all matches for this distribution
view release on metacpan or search on metacpan
requires 'HTTP::Tiny';
requires 'Module::Load';
requires 'Text::Unidecode';
requires 'Thrall', '0.0402';
requires 'Time::Local';
requires 'Try::Tiny';
};
on develop => sub {
requires 'Devel::Cover';
requires 'Devel::NYTProf';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/RabbitTail.pm view on Meta::CPAN
use App::RabbitTail::FileTailer;
use AnyEvent;
use Data::Dumper;
use Moose::Autobox;
use MooseX::Types::Moose qw/ArrayRef Str Int/;
use Try::Tiny qw/ try catch /;
use namespace::autoclean;
our $VERSION = '0.002';
$VERSION = eval $VERSION;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Rakubrew/Shell.pm view on Meta::CPAN
use strict;
use warnings;
use 5.010;
use Encode::Locale qw(env);
use File::Spec::Functions qw(catdir catfile updir splitpath);
use Try::Tiny;
use App::Rakubrew::Tools;
use App::Rakubrew::Variables;
use App::Rakubrew::VersionHandling;
# Turn on substring-based command line completion where possible contrary to the
view all matches for this distribution
view release on metacpan or search on metacpan
File::Slurp: 0
File::Spec: 0
File::Temp: 0
Test::Differences: 0
Test::More: 0
Try::Tiny: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300003, CPAN::Meta::Converter version 2.112150'
license: perl
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/RepoSync/Command/Import.pm view on Meta::CPAN
use 5.10.0;
use warnings;
use strict;
use base qw( CLI::Framework::Command );
use File::Path qw(mkpath);
use Try::Tiny;
use Cwd;
use YAML;
use App::RepoSync::Export;
use App::RepoSync::SystemUtil qw(system_or_die chdir_qx);
use Term::ANSIColor;
view all matches for this distribution
view release on metacpan or search on metacpan
t/retropan.t view on Meta::CPAN
($author, $dist, $url) = App::RetroPAN::find_module_on_date("DBI", "2015-01-01T00:00:00");
is($dist, "DBI-1.632");
is($author, "TIMB");
my @deps = App::RetroPAN::find_module_dependencies("DROLSKY", "Moose-1.21");
is_deeply(\@deps, [qw/ Test::Requires Test::Fatal Params::Util Data::OptList Sub::Name Class::MOP Task::Weaken Try::Tiny Package::DeprecationManager List::MoreUtils Sub::Exporter /]);
my ($dists_required, $dist_to_url) = App::RetroPAN::find_deps_on_date("2011-01-01T00:00:00", "Moose");
isa_ok($dist_to_url, 'HASH');
{
view all matches for this distribution