view release on metacpan or search on metacpan
lib/CatalystX/CRUD/Controller.pm view on Meta::CPAN
use Catalyst::Utils;
use CatalystX::CRUD::Results;
use MRO::Compat;
use mro 'c3';
use Data::Dump qw( dump );
use Try::Tiny;
__PACKAGE__->mk_accessors(
qw(
model_adapter
form_class
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Crudite/Script/Create.pm view on Meta::CPAN
package CatalystX::Crudite::Script::Create;
use strict;
use warnings;
use Try::Tiny;
use Class::Load qw(load_class);
sub run {
my $dist_name = shift;
my $type = shift @ARGV;
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/Data/Verifier.pm view on Meta::CPAN
use Data::Verifier::Filters;
use Data::Verifier::Results;
use Moose::Util::TypeConstraints;
use Scalar::Util qw(blessed);
#use Try::Tiny;
has 'derived' => (
is => 'ro',
isa => 'HashRef[HashRef]',
predicate => 'has_derived'
view all matches for this distribution
view release on metacpan or search on metacpan
"Catalyst::Action::REST" => "0.88",
"Catalyst::Action::RenderView" => 0,
"Catalyst::Runtime" => "5.80024",
"JSON" => 0,
"Moose" => "1.21",
"Try::Tiny" => 0
},
"script_files" => [],
"test_requires" => {
"Test::More" => "0.88"
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Controller/ExtJS/REST.pm view on Meta::CPAN
use HTML::FormFu::ExtJS 0.076;
use Path::Class;
use HTML::Entities;
use Lingua::EN::Inflect;
use JSON;
use Try::Tiny;
use Moose::Util::TypeConstraints;
subtype 'PathClassDir', as 'Path::Class::Dir';
coerce 'PathClassDir', from 'ArrayRef', via { Path::Class::Dir->new( @{$_[0]} ) };
coerce 'PathClassDir', from 'Str', via { Path::Class::Dir->new( $_[0] ) };
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catalyst/ActionRole/OAuth2/AuthToken/ViaAuthGrant.pm view on Meta::CPAN
package Catalyst::ActionRole::OAuth2::AuthToken::ViaAuthGrant;
use Moose::Role;
use Try::Tiny;
use CatalystX::OAuth2::Request::AuthToken;
# ABSTRACT: Authorization token provider endpoint for OAuth2 authentication flows
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Restarter/GTK.pm view on Meta::CPAN
package CatalystX::Restarter::GTK;
use v5.008;
use Moose;
use MooseX::Types::Moose qw(Int Str);
use Try::Tiny qw(try catch);
use POSIX qw(SIGUSR1 SIGUSR2 WNOHANG);
use IPC::Semaphore qw();
use IPC::SysV qw(S_IRWXU IPC_PRIVATE IPC_CREAT);
use Object::Destroyer qw();
use Carp qw(croak);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/SimpleLogin/Form/Login.pm view on Meta::CPAN
package CatalystX::SimpleLogin::Form::Login;
use HTML::FormHandler::Moose;
use Try::Tiny;
use namespace::autoclean;
extends 'HTML::FormHandler';
use MooseX::Types::Moose qw/ HashRef /;
use MooseX::Types::Common::String qw/ NonEmptySimpleStr /;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CatalystX/Widget/Paginator.pm view on Meta::CPAN
);
Handling invalid page:
use Try::Tiny;
my $pg = try {
$c->widget( 'Paginator',
rs => 'Schema::User',
invalid => 'raise'
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Test::Exception 0
Test::More 0
Text::CSV 1.21
Throwable 0.200004
Time::HiRes 0
Try::Tiny::ByClass 0.01
YAML::Any 0.90
namespace::clean 0.24
perl v5.10.1
Class-Load-0.21
pathname: E/ET/ETHER/Class-Load-0.21.tar.gz
cpanfile.snapshot view on Meta::CPAN
Module::Build::Tiny 0.034
Module::Implementation 0.04
Module::Runtime 0.012
Package::Stash 0.14
Scalar::Util 0
Try::Tiny 0
base 0
perl 5.008
strict 0
warnings 0
Class-Method-Modifiers-2.10
cpanfile.snapshot view on Meta::CPAN
T::ImplFails2 undef
requirements:
Carp 0
ExtUtils::MakeMaker 6.30
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Metadata-1.000022
pathname: E/ET/ETHER/Module-Metadata-1.000022.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 6.30
Test::Builder 0
Try::Tiny 0.07
strict 0
warnings 0
Test-Harness-3.30
pathname: L/LE/LEONT/Test-Harness-3.30.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
URI-1.60
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Text::Hogan::Compiler 1.02
Throwable 0.200004
Time::HiRes 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0.22
Unicode::Normalize 0
YAML::XS 0.41
asa 0
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-Method-Modifiers-2.12
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-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
File::Spec 0
List::Util 0
Number::Compare 0.02
Scalar::Util 0
Text::Glob 0
Try::Tiny 0
if 0
perl 5.008001
strict 0
warnings 0
warnings::register 0
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
Try-Tiny-0.28
pathname: E/ET/ETHER/Try-Tiny-0.28.tar.gz
provides:
Try::Tiny 0.28
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
constant 0
cpanfile.snapshot view on Meta::CPAN
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
URI-1.72
cpanfile.snapshot view on Meta::CPAN
LWP::MediaTypes 6
MIME::Base64 2.1
Net::FTP 2.58
Net::HTTP 6.07
Scalar::Util 0
Try::Tiny 0
URI 1.10
URI::Escape 0
WWW::RobotRules 6
base 0
perl 5.008001
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catmandu/Importer/EuropePMC.pm view on Meta::CPAN
our $VERSION = '1.011';
use Catmandu::Sane;
use Catmandu::Importer::XML;
use Try::Tiny;
use Furl;
use Moo;
with 'Catmandu::Importer';
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Throwable 0.200004
Time::HiRes 0
Time::Piece 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0
Unicode::Normalize 0
YAML::XS 0.41
namespace::clean 0.24
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-Method-Modifiers-2.11
cpanfile.snapshot view on Meta::CPAN
Dist::CheckConflicts 0.02
ExtUtils::MakeMaker 0
POSIX 0
Params::Validate 1.03
Scalar::Util 0
Try::Tiny 0
XSLoader 0
base 0
constant 0
integer 0
namespace::autoclean 0.19
cpanfile.snapshot view on Meta::CPAN
DateTime::TimeZone 0.79
Exporter 0
ExtUtils::MakeMaker 0
Package::DeprecationManager 0.15
Params::Validate 1.20
Try::Tiny 0
constant 0
strict 0
warnings 0
DateTime-Locale-1.05
pathname: D/DR/DROLSKY/DateTime-Locale-1.05.tar.gz
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
Module::Implementation 0.09
requirements:
Carp 0
ExtUtils::MakeMaker 0
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
Types-Serialiser-1.0
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Text::Hogan::Compiler 1.02
Throwable 0.200004
Time::HiRes 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0.22
Unicode::Normalize 0
YAML::XS 0.41
asa 0
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-Method-Modifiers-2.12
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-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
Try-Tiny-0.28
pathname: E/ET/ETHER/Try-Tiny-0.28.tar.gz
provides:
Try::Tiny 0.28
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
constant 0
cpanfile.snapshot view on Meta::CPAN
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
URI-1.71
cpanfile.snapshot view on Meta::CPAN
LWP::MediaTypes 6
MIME::Base64 2.1
Net::FTP 2.58
Net::HTTP 6.07
Scalar::Util 0
Try::Tiny 0
URI 1.10
URI::Escape 0
WWW::RobotRules 6
perl 5.008001
namespace-clean-0.27
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Throwable 0.200004
Time::HiRes 0
Time::Piece 0
Try::Tiny::ByClass 0.01
YAML::XS 0.41
namespace::clean 0.24
perl v5.10.1
Class-Data-Inheritable-0.08
pathname: T/TM/TMTM/Class-Data-Inheritable-0.08.tar.gz
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
Module::Implementation 0.09
requirements:
Carp 0
ExtUtils::MakeMaker 0
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Info-0.35
pathname: M/MB/MBARBON/Module-Info-0.35.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
Types-Serialiser-1.0
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Text::CSV 1.21
Text::Hogan::Compiler 1.02
Throwable 0.200004
Time::HiRes 0
Time::Piece 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0.22
Unicode::Normalize 0
YAML::XS 0.41
asa 0
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-Method-Modifiers-2.12
cpanfile.snapshot view on Meta::CPAN
Specio::Declare 0
Specio::Exporter 0
Specio::Library::Builtins 0
Specio::Library::Numeric 0
Specio::Library::String 0
Try::Tiny 0
XSLoader 0
base 0
integer 0
namespace::autoclean 0.19
overload 0
cpanfile.snapshot view on Meta::CPAN
List::Util 1.33
Module::Runtime 0
Params::ValidationCompiler 0.13
Specio::Library::Builtins 0
Specio::Library::String 0
Try::Tiny 0
constant 0
namespace::autoclean 0
parent 0
perl 5.008004
strict 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-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
requirements:
Carp 0
Exporter 5.57
ExtUtils::MakeMaker 0
Test::Builder 0
Try::Tiny 0.07
strict 0
warnings 0
Test-Most-0.34
pathname: O/OV/OVID/Test-Most-0.34.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
cpanfile.snapshot view on Meta::CPAN
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
URI-1.71
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Throwable 0.200004
Time::HiRes 0
Time::Piece 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0
Unicode::Normalize 0
YAML::XS 0.41
namespace::clean 0.24
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-Method-Modifiers-2.11
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-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
Types-Serialiser-1.0
view all matches for this distribution
view release on metacpan or search on metacpan
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
Text::CSV 1.21
Throwable 0.200004
Time::HiRes 0
Time::Piece 0
Try::Tiny::ByClass 0.01
URI 0
URI::Template 0
Unicode::Normalize 0
YAML::XS 0.41
namespace::clean 0.24
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
requirements:
Carp 0
Exporter 0
ExtUtils::MakeMaker 0
Scalar::Util 0
Try::Tiny 0
constant 0
overload 0
strict 0
warnings 0
Exception-Class-1.39
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-Info-0.37
pathname: N/NE/NEILB/Module-Info-0.37.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-ArrayRef-0.005
pathname: T/TO/TOBYINK/MooseX-ArrayRef-0.005.tar.gz
cpanfile.snapshot view on Meta::CPAN
Sub::Quote 0
overload 0
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
strict 0
warnings 0
Try-Tiny-ByClass-0.01
pathname: M/MA/MAUKE/Try-Tiny-ByClass-0.01.tar.gz
provides:
Try::Tiny::ByClass 0.01
requirements:
Dispatch::Class 0
Exporter 0
ExtUtils::MakeMaker 6.56
IO::Handle 0
Test::More 0
Try::Tiny 0
base 0
perl 5.006000
strict 0
warnings 0
TryCatch-1.003002
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Catmandu/Sane.pm view on Meta::CPAN
use feature ();
use utf8;
use IO::File ();
use IO::Handle ();
use Try::Tiny::ByClass;
use Catmandu::Error ();
sub import {
my $pkg = caller;
strict->import;
warnings->import;
feature->import(qw(:5.10));
utf8->import;
Try::Tiny::ByClass->export_to_level(1, $pkg);
}
1;
__END__
lib/Catmandu/Sane.pm view on Meta::CPAN
use warnings;
use feature qw(:5.10);
use utf8;
use IO::File ();
use IO::Handle ();
use Try::Tiny::ByClass;
use Catmandu::Error;
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Test/Cukes.pm view on Meta::CPAN
package Test::Cukes;
use strict;
use warnings;
use Test::Cukes::Feature;
use Carp::Assert;
use Try::Tiny;
use base 'Test::Builder::Module';
our $VERSION = "0.10";
our @EXPORT = qw(feature runtests Given When Then assert affirm should shouldnt);
view all matches for this distribution
view release on metacpan or search on metacpan
author:
- 'Mateu X Hunter <hunter@missoula.org>'
build_requires:
English: 0
Test::More: 0
Try::Tiny: 0
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
license: perl
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
parent 0
perl 5.008005
version 0
Module-Build-0.4211
pathname: L/LE/LEONT/Module-Build-0.4211.tar.gz
cpanfile.snapshot view on Meta::CPAN
Module::Implementation 0.07
requirements:
Carp 0
ExtUtils::MakeMaker 6.30
Module::Runtime 0.012
Try::Tiny 0
strict 0
warnings 0
Module-Metadata-1.000026
pathname: E/ET/ETHER/Module-Metadata-1.000026.tar.gz
provides:
cpanfile.snapshot view on Meta::CPAN
Test::More 0
perl 5.00800
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
lib/Chess/PGN/Extract.pm view on Meta::CPAN
use Data::Dump qw| dump |;
use Encode qw| encode_utf8 |;
use IO::Handle;
use JSON::XS qw| decode_json |;
use Sys::Cmd qw| spawn |;
use Try::Tiny;
sub read_games {
my $pgn = shift;
my %opts = @_;
# TODO: add options to be passed to pgn-extract
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Chouette.pm view on Meta::CPAN
But with both of these methods, what should the callback do when it is notified of an error? It can't just C<die> because nothing will catch the exception. With the L<EV> event loop you will see this:
EV: error in callback (ignoring): failure: ERROR: relation "no_such_table" does not exist
Even if you wrap an C<eval> or a L<Try::Tiny> C<try {} catch {}> around the code the same thing happens. The try/catch is in effect while installing the callback, but not when the callback is called.
As a consequence of all this, asynchronous web frameworks usually cannot indicate errors with exceptions. Instead, they require you to respond to the client from inside the callback:
$dbh->exec("SELECT * FROM no_such_table", sub {
my ($dbh, $rows, $rv) = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Cikl/Client.pm view on Meta::CPAN
use strict;
use warnings;
use Mouse;
use namespace::autoclean;
use Try::Tiny;
use Config::Simple;
use Cikl::Client::Transport;
has 'transport' => (
is => 'ro',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Circle/Block.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use Exporter 'import';
use Carp;
use Try::Tiny;
use URL::Encode;
use Circle::Common qw(load_config build_url_template http_json_post http_json_get);
our $VERSION = '0.05';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Circle/Common.pm view on Meta::CPAN
use Exporter 'import';
use URL::Encode qw(url_encode_utf8);
use LWP::UserAgent;
use HTTP::Request;
use Slurp;
use Try::Tiny;
use YAML;
use JSON;
use Carp;
use File::Share ':all';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Circle/Node.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use Exporter 'import';
use Carp;
use Try::Tiny;
use URL::Encode;
use Circle::Common qw(load_config build_url_template http_json_post http_json_get);
our $VERSION = '0.05';
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-wallet.t view on Meta::CPAN
#!perl
use 5.006;
use strict;
use warnings;
use Test::More;
use Try::Tiny;
use JSON;
use Carp;
use Circle::Wallet;
# 1. create wallet using anonymous user.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Class/Load.pm view on Meta::CPAN
use base 'Exporter';
use Data::OptList 0.110 ();
use Module::Implementation 0.04;
use Module::Runtime 0.012 ();
use Try::Tiny;
{
my $loader = Module::Implementation::build_loader_sub(
implementations => [ 'XS', 'PP' ],
symbols => ['is_class_loaded'],
view all matches for this distribution