view release on metacpan or search on metacpan
- Add test coverage for writewatch
1.15 2017-02-24 12:44:17-08:00 America/Los_Angeles
- Support for non-root directory execution
- dest.wrap operational from non-root execution paths
- Replace use of eval with Try::Tiny
- Add "writewatch" option to create watch file
- Report reasonable errors in various states; allow warnings to continue
- Print at least something instead of an error on VERSION request
- Travis CI, Dist::Zilla, and minimum version OCD updates
- Minor documentation improvements
view all matches for this distribution
view release on metacpan or search on metacpan
"requires" : {
"IPC::Run3" : "0",
"List::Util" : "0",
"Moo" : "0",
"Pod::Usage" : "0",
"Try::Tiny" : "0",
"YAML::PP" : "0",
"strict" : "0",
"warnings" : "0"
}
},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dochazka/CLI/Util.pm view on Meta::CPAN
use Exporter 'import';
use File::ShareDir;
use Log::Any::Adapter;
use Params::Validate qw( :all );
use Scalar::Util qw( looks_like_number );
use Try::Tiny;
use Web::MREST::CLI qw( normalize_filespec send_req );
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dochazka/REST.pm view on Meta::CPAN
use File::Path;
use File::ShareDir;
use File::Spec;
use Log::Any::Adapter;
use Params::Validate qw( :all );
use Try::Tiny;
use Web::Machine;
use Web::MREST;
use Web::MREST::CLI qw( normalize_filespec );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Dochazka/WWW/Dispatch.pm view on Meta::CPAN
use App::CELL qw( $CELL $log $meta $site );
use Data::Dumper;
use JSON;
use Params::Validate qw(:all);
use Try::Tiny;
# methods/attributes not defined in this module will be inherited from:
use parent 'App::MFILE::WWW::Resource';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/DuckPAN/Cmd/New.pm view on Meta::CPAN
use Moo;
with qw( App::DuckPAN::Cmd );
use MooX::Options protect_argv => 0;
use Try::Tiny;
use List::MoreUtils 'any';
use App::DuckPAN::TemplateDefinitions;
no warnings 'uninitialized';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Duppy.pm view on Meta::CPAN
use File::Which;
use IO::All;
use JSON;
use DDP;
use Carp;
use Try::Tiny;
option 'test' => (
is => 'rw',
required => 1,
format => 's@',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Eduard.pm view on Meta::CPAN
use MIME::Entity;
use MIME::Parser;
use Mail::GnuPG;
use PerlX::Maybe;
use Template;
use Try::Tiny;
sub debug { say STDERR @_ if $ENV{EDUARD_DEBUG} }
sub stringify ($) { join '', map {; '>', $_ } @{$_[0]} }
sub mg {
Mail::GnuPG->new(
view all matches for this distribution
view release on metacpan or search on metacpan
script/fatpack-modules view on Meta::CPAN
Examples:
Fatpack two modules:
% fatpack-modules Text::Table::Tiny Try::Tiny
=head1 DESCRIPTION
This routine provides the same core technique employed by C<App::FatPacker>
(which is putting modules' source code inside Perl variables and loading them
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
TAP::Harness::Env 0
TOML 0.95
Term::ANSIColor 0
Text::MicroTemplate 0.20
Time::Piece 1.16
Try::Tiny 0
URI 0
parent 0
perl 5.010001
version 0
Module-Build-0.4234
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-Runtime-0.016
pathname: Z/ZE/ZEFRAM/Module-Runtime-0.016.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
requirements:
ExtUtils::MakeMaker 0
Try-Tiny-0.31
pathname: E/ET/ETHER/Try-Tiny-0.31.tar.gz
provides:
Try::Tiny 0.31
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
constant 0
cpanfile.snapshot view on Meta::CPAN
MIME::Base64 2.1
Module::Load 0
Net::FTP 2.58
Net::HTTP 6.18
Scalar::Util 0
Try::Tiny 0
URI 1.10
URI::Escape 0
WWW::RobotRules 6
parent 0.217
perl 5.008001
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Git/IssueManager/Add.pm view on Meta::CPAN
use Git::IssueManager::Issue;
use App::Git::IssueManager::Config;
use File::Temp qw/ tempfile/;
use File::Slurp;
use Term::ANSIColor;
use Try::Tiny;
command_short_description 'create an issue within a project';
command_usage 'git issue add -s Humbug';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitGot/Command.pm view on Meta::CPAN
use App::Cmd::Setup -command;
use Cwd;
use File::HomeDir::Tiny ();
use List::Util qw/ max first /;
use Path::Tiny;
use Try::Tiny;
use Types::Standard -types;
use YAML qw/ DumpFile LoadFile /;
use App::GitGot::Repo::Git;
use App::GitGot::Repositories;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks/Plugin/NotifyReleasesToSlack.pm view on Meta::CPAN
use CPAN::Changes;
use Data::Dumper;
use JSON qw();
use LWP::UserAgent;
use Log::Any qw($log);
use Try::Tiny;
# Internal dependencies.
use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );
# Uncomment to see debug information.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks/Plugin/PerlCritic.pm view on Meta::CPAN
use base 'App::GitHooks::Plugin';
# External dependencies.
use Perl::Critic;
use Perl::Critic::Git;
use Try::Tiny;
# Internal dependencies.
use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks/Plugin/ValidateChangelogFormat.pm view on Meta::CPAN
# Internal dependencies.
use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );
# External dependencies.
use CPAN::Changes;
use Try::Tiny;
use version qw();
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks/Plugin/VersionTagsRequireChangelog.pm view on Meta::CPAN
use base 'App::GitHooks::Plugin';
# External dependencies.
use CPAN::Changes;
use Log::Any qw($log);
use Try::Tiny;
# Internal dependencies.
use App::GitHooks::Constants qw( :PLUGIN_RETURN_CODES );
# Uncomment to see debug information.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitHooks.pm view on Meta::CPAN
use Module::Pluggable
require => 1,
sub_name => '_search_plugins';
use Term::ANSIColor qw();
use Text::Wrap qw();
use Try::Tiny qw( try catch finally );
use Storable qw();
# Internal dependencies.
use App::GitHooks::Config;
use App::GitHooks::Constants qw( :HOOK_EXIT_CODES );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/GitWorkspaceScanner.pm view on Meta::CPAN
use Git::Repository;
use Log::Any qw( $log );
use Pod::Find qw();
use Pod::Usage qw();
use Readonly;
use Try::Tiny;
=head1 NAME
App::GitWorkspaceScanner - Scan git repositories in your workspace for local changes not synced up.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Gitc/Its/Jira.pm view on Meta::CPAN
our $VERSION = '0.60'; # VERSION
use JIRA::Client;
use JIRA::Client::REST;
use Try::Tiny;
use List::MoreUtils qw( any );
use YAML;
use App::Gitc::Util qw(
project_config
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Greple/wordle.pm view on Meta::CPAN
our $VERSION = "0.12";
use Data::Dumper;
use List::Util qw(shuffle max);
use Try::Tiny;
use Getopt::EX::Colormap qw(colorize ansi_code);
use Text::VisualWidth::PP 0.05 'vwidth';
use App::Greple::wordle::word_all qw(@word_all %word_all);
use App::Greple::wordle::word_hidden qw(@word_hidden);
use App::Greple::wordle::game;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Highlander.pm view on Meta::CPAN
=head1 DESCRIPTION
Simple module that provides a named locking mechanism based on flock. Application code requests a lock, then executes, then releases the lock. Lockfiles are stored in a temporary directory created by File::Temp::tempdir( CLEANUP => 1 ) by default. Yo...
App::Highlander does *not* currently (and may never) handle errors, this means that if your application dies under Highlander then it will not have released the lock. Application code will need to capture the error with eval or a sugary module like T...
=head1 NAME
App::Highlander
view all matches for this distribution
view release on metacpan or search on metacpan
"Text::sprintfn" : "0.090",
"Tie::Cache" : 0.21,
"Tie::IxHash" : "1.23",
"Time::Duration" : "1.21",
"Time::Duration::Parse::AsHash" : "0.10.6",
"Try::Tiny" : "0.30",
"URI::Find" : 20160806,
"URI::Find::Schemeless" : 20160806,
"UUID::Random" : "0.04",
"UUID::Tiny" : "1.04",
"Versioning::Scheme" : "0.011",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Inotify/Hookable.pm view on Meta::CPAN
use Moose;
use MooseX::Types::Moose ':all';
use Linux::Inotify2;
use POSIX ':errno_h';
use Time::HiRes qw(gettimeofday tv_interval ualarm);
use Try::Tiny;
use Data::BitMask;
use Data::Dumper;
use Class::Inspector;
use List::MoreUtils qw(uniq);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/JC/Client/addIssue.pm view on Meta::CPAN
use warnings;
use MooseX::App::Command;
extends qw(App::JC::Client);
use Term::ANSIColor;
use Try::Tiny;
use JIRA::Client::Automated;
command_short_description 'create an issue within a project';
command_usage 'jc.pl add_issue <project> <type> <summary> <description>';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Kit.pm view on Meta::CPAN
sub import {
strict->import;
warnings->import;
unless ( defined $_[1] && $_[1] eq '-no-try' ) { # Yoda was right: there *is* -no-try!
require Try::Tiny;
# Try::Tiny->import(); # not like pragma in import, so:
require Import::Into;
my $caller = caller();
Try::Tiny->import::into($caller);
}
}
# tidyoff
with 'Role::Multiton', # Would like to do ::New but that falls apart once you decide to extend() See rt 89239. For now we TODO the multiton-via-new tests
lib/App/Kit.pm view on Meta::CPAN
=head3 strict and warnings enabled automatically
=head3 try/catch/finally imported automatically (unless you say not to)
L<Try::Tiny> is enabled automatically unless you pass import() â-no-tryâ flag (Yoda was right: there *is* -no-try!):
use App::Kit '-no-try';
same goes for your App::Kit based object:
lib/App/Kit.pm view on Meta::CPAN
=head1 DEPENDENCIES
L<Moo> et al.
If you don't pass in -no-try: L<Try::Tiny> and L<Import::Into>
Other modules would be documented above under each façade object that brings them in.
=head1 INCOMPATIBILITIES
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Module::Build::Tiny 0.037
Module::Implementation 0.04
Module::Runtime 0.012
Package::Stash 0.14
Scalar::Util 0
Try::Tiny 0
base 0
namespace::clean 0
perl 5.006
strict 0
warnings 0
cpanfile.snapshot view on Meta::CPAN
DBIx::TransactionManager::ScopeGuard 1.13
requirements:
DBI 0
ExtUtils::MakeMaker 6.36
Test::More 0.96
Try::Tiny 0
Data-OptList-0.109
pathname: R/RJ/RJBS/Data-OptList-0.109.tar.gz
provides:
Data::OptList 0.109
requirements:
cpanfile.snapshot view on Meta::CPAN
ExtUtils::CBuilder 0
Module::Build 0.28
POSIX 0
Params::Validate 0.76
Scalar::Util 0
Try::Tiny 0
XSLoader 0
base 0
constant 0
integer 0
overload 0
cpanfile.snapshot view on Meta::CPAN
File::Spec 0
List::AllUtils 0
List::Util 0
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
Module::Implementation 0.09
requirements:
Carp 0
ExtUtils::MakeMaker 0
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Load-0.32
pathname: B/BI/BINGOS/Module-Load-0.32.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Test::More 0
perl 5.005
Try-Tiny-0.22
pathname: D/DO/DOY/Try-Tiny-0.22.tar.gz
provides:
Try::Tiny 0.22
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 6.30
constant 0
view all matches for this distribution
view release on metacpan or search on metacpan
kritika.fatpack view on Meta::CPAN
$fatpacked{"Test/Deep/String.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'TEST_DEEP_STRING';
use strict;use warnings;package Test::Deep::String;use Test::Deep::Cmp;sub init {my$self=shift;$self->{val}=shift}sub descend {my$self=shift;my$got=shift()."";$self->data->{got}=$got;return$got eq $self->{val}}sub diag_message {my$self=shift;my$whe...
TEST_DEEP_STRING
$fatpacked{"Test/Fatal.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'TEST_FATAL';
use strict;use warnings;package Test::Fatal;$Test::Fatal::VERSION='0.05';use Carp ();use Try::Tiny 0.07;use Exporter 5.57 'import';our@EXPORT=qw(exception);our@EXPORT_OK=qw(exception success dies_ok lives_ok);our ($REAL_TBL,$REAL_CALCULATED_TBL)=(1...
TEST_FATAL
$fatpacked{"Test/MonkeyMock.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'TEST_MONKEYMOCK';
package Test::MonkeyMock;use strict;use warnings;require Carp;our$VERSION='0.05';my$registry={};my$magic_counter=0;sub new {my$class=shift;$class=ref$class if ref$class;my ($instance)=@_;my$new_package;if ($instance){$new_package=__PACKAGE__ .'::' ...
TEST_MONKEYMOCK
kritika.fatpack view on Meta::CPAN
$fatpacked{"Test/TempDir/Tiny.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'TEST_TEMPDIR_TINY';
use 5.006002;use strict;use warnings;package Test::TempDir::Tiny;our$VERSION='0.05';use Exporter 5.57 qw/import/;our@EXPORT=qw/tempdir in_tempdir/;use Carp qw/confess/;use Cwd qw/abs_path/;use Errno qw/EEXIST ENOENT/;{no warnings 'numeric';use File...
TEST_TEMPDIR_TINY
$fatpacked{"Try/Tiny.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'TRY_TINY';
package Try::Tiny;use 5.006;our$VERSION='0.05';use strict;use warnings;use Exporter 5.57 'import';our@EXPORT=our@EXPORT_OK=qw(try catch finally);use Carp;$Carp::Internal{+__PACKAGE__}++;BEGIN {my$su=$INC{'Sub/Util.pm'}&& defined&Sub::Util::set_subn...
TRY_TINY
s/^ //mg for values %fatpacked;
my $class = 'FatPacked::'.(0+\%fatpacked);
view all matches for this distribution
view release on metacpan or search on metacpan
- parse shortname schemes in main script, slightly simplifying modules
- refactor to iterate files in main script
- rename parameter shortname_scheme -> schemes, and validate
- stop include path in log messages within method parse_license
- use Feature::Compat::Class (not Object::Pad)
- use Feature::Compat::Try (not Try::Tiny)
- use Object::Pad 0.74
v3.3.0 2022-01-08
[ Bug Fixes ]
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MBUtiny/Collector/Client.pm view on Meta::CPAN
$VERSION = '1.00';
#use Carp;
#use CTK::TFVals qw/ :ALL /;
use CTK::ConfGenUtil;
#use Try::Tiny;
#use File::Basename qw/basename/;
use base qw/ WWW::MLite::Client /;
use constant {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/MFILE/HTTP.pm view on Meta::CPAN
use Exporter qw( import );
use HTTP::Request::Common qw( GET PUT POST DELETE );
use JSON;
use LWP::UserAgent;
use Params::Validate qw( :all );
use Try::Tiny;
=head1 NAME
view all matches for this distribution