Result:
found more than 418 distributions - search limited to the first 2001 files matching your query ( run in 0.566 )


Carmel

 view release on metacpan or  search on metacpan

lib/Carmel.pm  view on Meta::CPAN

  > git pull
  > carmel install
  > carmel exec starman -p 8080 myapp.psgi

  # Add a new dependency
  > echo "requires 'Try::Tiny';" >> cpanfile
  > carmel install
  > git commit -am 'Add Try::Tiny'

  # Update Plack to the latest
  > carmel update Plack

=head2 Production Deployments

 view all matches for this distribution


Carp-Parse-Redact

 view release on metacpan or  search on metacpan

t/10-parse_stack_trace.t  view on Meta::CPAN

		"[redacted]",
		"username",
		"[redacted]",
	],
	[],
	[ "CODE(0xb3d4f48)", "Try::Tiny::Finally=REF(0xaf503f0)" ],
];

subtest(
	'Sensitive information is redacted out.',
	sub

t/10-parse_stack_trace.t  view on Meta::CPAN

Test.
at test/lib/Spock/test.t line 116
main::test_trace('gift_message', 'Happy\x{a}Birthday\x{a}\x{9}Love,\x{a}\x{9}Timmy', 'password', 'thereisnotry', 'planet', 'degobah', 'ship_zip', 01138, 'username', 'yoda') called at test/lib/Spock/test.t line 61
main::__ANON__() called at /home/spock/site_perl/5.14.2/Try/Tiny.pm line 76
eval {...} called at /home/spock/site_perl/5.14.2/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0xb3d4f48)', 'Try::Tiny::Finally=REF(0xaf503f0)') called at test/lib/Spock/test.t line 69

 view all matches for this distribution


Carp-Parse

 view release on metacpan or  search on metacpan

t/10-parse_stack_trace-single_quotes.t  view on Meta::CPAN

		bless(
			{
				arguments_list   =>
				[
					"CODE(0xb3d4f48)",
					"Try::Tiny::Finally=REF(0xaf503f0)",
				],
				arguments_string => "'CODE(0xb3d4f48)', 'Try::Tiny::Finally=REF(0xaf503f0)'",
				line             => "Try::Tiny::try('CODE(0xb3d4f48)', 'Try::Tiny::Finally=REF(0xaf503f0)') called at test/lib/Spock/test.t line 69",
			},
			'Carp::Parse::CallerInformation',
		),
	],
	'The parsed stack trace matches the expected output.'

t/10-parse_stack_trace-single_quotes.t  view on Meta::CPAN

Test.
at test/lib/Spock/test.t line 116
main::test_trace('gift_message', 'Happy\x{a}Birthday\x{a}\x{9}Love,\x{a}\x{9}Timmy', 'password', 'thereisnotry', 'planet', 'degobah', 'ship_zip', 01138, 'username', 'yoda', 'empty', '') called at test/lib/Spock/test.t line 61
main::__ANON__() called at /home/spock/site_perl/5.14.2/Try/Tiny.pm line 76
eval {...} called at /home/spock/site_perl/5.14.2/Try/Tiny.pm line 67
Try::Tiny::try('CODE(0xb3d4f48)', 'Try::Tiny::Finally=REF(0xaf503f0)') called at test/lib/Spock/test.t line 69

 view all matches for this distribution


Carp-Proxy

 view release on metacpan or  search on metacpan

lib/Carp/Proxy.pm  view on Meta::CPAN


=head2 arg

I<arg> holds the value of Perl's B<$ARG ($_)>, as harvested from the
invoking environment.  This can be handy if you are using
B<Try::Tiny>.

=over 4

=item Builder:    None; L<new()|/new> requires I<arg> specification.

 view all matches for this distribution


Carton

 view release on metacpan or  search on metacpan

lib/Carton/CLI.pm  view on Meta::CPAN

use strict;
use warnings;
use Config;
use Getopt::Long;
use Path::Tiny;
use Try::Tiny;
use Module::CoreList;
use Scalar::Util qw(blessed);

use Carton;
use Carton::Builder;

 view all matches for this distribution


Catalyst-ActionRole-BuildDBICResult

 view release on metacpan or  search on metacpan

lib/Catalyst/ActionRole/BuildDBICResult.pm  view on Meta::CPAN


our $VERSION = '0.04';

use Moose::Role;
use namespace::autoclean;
use Try::Tiny qw(try catch);
use Perl6::Junction qw(any all);
use Catalyst::ActionRole::BuildDBICResult::Types qw(:all);

requires 'name', 'dispatch', 'attributes';

 view all matches for this distribution


Catalyst-ActionRole-DetachOnDie

 view release on metacpan or  search on metacpan

lib/Catalyst/ActionRole/DetachOnDie.pm  view on Meta::CPAN

package Catalyst::ActionRole::DetachOnDie;
{
  $Catalyst::ActionRole::DetachOnDie::VERSION = '0.001006';
}
use Moose::Role;
use Try::Tiny;
use Scalar::Util qw(blessed);

# ABSTRACT: If something dies in a chain, stop the chain. DEPRECATED IN FAVOR OF CATALYST 5.90040

around execute => sub {

 view all matches for this distribution


Catalyst-Authentication-Store-CouchDB

 view release on metacpan or  search on metacpan

lib/Catalyst/Authentication/Store/CouchDB/User.pm  view on Meta::CPAN

use MooseX::NonMoose 0.20;
use CouchDB::Client 0.09 qw ();
use Catalyst::Exception;
use Catalyst::Utils;
use JSON 2.17 qw ();
use Try::Tiny 0.09;


use namespace::autoclean;
extends 'Catalyst::Authentication::User';

 view all matches for this distribution


Catalyst-Authentication-Store-DBIx-Class

 view release on metacpan or  search on metacpan

lib/Catalyst/Authentication/Store/DBIx/Class/User.pm  view on Meta::CPAN

use Moose;
use namespace::autoclean;
extends 'Catalyst::Authentication::User';

use List::MoreUtils 'all';
use Try::Tiny;

has 'config'    => (is => 'rw');
has 'resultset' => (is => 'rw');
has '_user'     => (is => 'rw');
has '_roles'    => (is => 'rw');

 view all matches for this distribution


Catalyst-Controller-AutoAssets

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/AutoAssets/Handler.pm  view on Meta::CPAN

use Carp;
use File::stat qw(stat);
use Catalyst::Utils;
use Time::HiRes qw(gettimeofday tv_interval);
use Storable qw(store retrieve);
use Try::Tiny;
use Data::Dumper::Concise 'Dumper';

require Digest::SHA1;
require MIME::Types;
require Module::Runtime;

 view all matches for this distribution


Catalyst-Controller-DBIC-API

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/DBIC/API.pm  view on Meta::CPAN

use JSON::MaybeXS ();
use Test::Deep::NoTest('eq_deeply');
use MooseX::Types::Moose(':all');
use Moose::Util;
use Scalar::Util( 'blessed', 'reftype' );
use Try::Tiny;
use Catalyst::Controller::DBIC::API::Request;
use DBIx::Class::ResultSet::RecursiveUpdate;
use namespace::autoclean;

has '_json' => (

 view all matches for this distribution


Catalyst-Controller-DirectoryDispatch

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/DirectoryDispatch.pm  view on Meta::CPAN

$Catalyst::Controller::DirectoryDispatch::VERSION = '1.03';
use Moose;
BEGIN { extends 'Catalyst::Controller' }

use JSON;
use Try::Tiny;
use namespace::autoclean;

__PACKAGE__->config(
    'default'   => 'application/json',
    'stash_key' => 'response',

 view all matches for this distribution


Catalyst-Controller-SimpleCAS

 view release on metacpan or  search on metacpan

lib/Catalyst/Controller/SimpleCAS.pm  view on Meta::CPAN

with 'Catalyst::Controller::SimpleCAS::Role::TextTranscode';

use Catalyst::Controller::SimpleCAS::Content;

use Module::Runtime;
use Try::Tiny;
use Catalyst::Utils;
use Path::Class qw(file dir);
use JSON;
use MIME::Base64;
use String::Random;

 view all matches for this distribution


Catalyst-Model-DBIC-Schema

 view release on metacpan or  search on metacpan

lib/Catalyst/Helper/Model/DBIC/Schema.pm  view on Meta::CPAN

use MooseX::Types::Moose qw/Str HashRef Bool ArrayRef/;
use Catalyst::Model::DBIC::Schema::Types 'CreateOption';
use List::MoreUtils 'firstidx';
use Scalar::Util 'looks_like_number';
use File::Find 'finddepth';
use Try::Tiny;
use Cwd 'getcwd';
use Module::Runtime 'use_module';

=head1 NAME

 view all matches for this distribution


Catalyst-Plugin-Authentication-Credential-GooglePlus

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Authentication/Credential/GooglePlus.pm  view on Meta::CPAN

use JSON::WebToken;
use JSON::MaybeXS;
use MIME::Base64;
use LWP::Simple qw(get);
use Date::Parse qw(str2time);
use Try::Tiny;

use strictures 1;

our $VERSION = 0.1;

 view all matches for this distribution


Catalyst-Plugin-Authentication

 view release on metacpan or  search on metacpan

lib/Catalyst/Authentication/Credential/Remote.pm  view on Meta::CPAN

use Moose;
use namespace::autoclean;

with 'MooseX::Emulate::Class::Accessor::Fast';

use Try::Tiny qw/ try catch /;

__PACKAGE__->mk_accessors(
    qw/allow_re deny_re cutname_re source realm username_field/);

sub new {

 view all matches for this distribution


Catalyst-Plugin-BigSitemap

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/BigSitemap/SitemapBuilder.pm  view on Meta::CPAN

use Modern::Perl '2010';
use WWW::Sitemap::XML;
use WWW::Sitemap::XML::URL;
use WWW::SitemapIndex::XML;
use Carp;
use Try::Tiny;
use Data::Dumper;
use Moose;

=head1 NAME 

 view all matches for this distribution


Catalyst-Plugin-OIDC

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/OIDC.pm  view on Meta::CPAN

use Catalyst::Action;
use Carp qw(croak);
use Clone qw(clone);
use List::Util qw(first);
use Scalar::Util qw(blessed);
use Try::Tiny;
use OIDC::Client;
use OIDC::Client::Plugin;
use OIDC::Client::Error::Authentication;

our $VERSION = '0.03'; # VERSION: generated by Dist::Zilla::Plugin::OurPkgVersion

 view all matches for this distribution


Catalyst-Plugin-Session-DynamicExpiry

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Session/DynamicExpiry.pm  view on Meta::CPAN

package Catalyst::Plugin::Session::DynamicExpiry;
use Moose;
use MRO::Compat;
use Try::Tiny;
use namespace::autoclean;

our $VERSION='0.04';

has [qw/_session_time_to_live/] => ( is => 'rw' );

 view all matches for this distribution


Catalyst-Plugin-Session-Store-Redis-Fast

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Session/Store/Redis/Fast.pm  view on Meta::CPAN

    Catalyst::Plugin::Session::Store
/;
use MRO::Compat;
use MIME::Base64 qw(encode_base64 decode_base64);
use Storable qw/nfreeze thaw/;
use Try::Tiny;
use Redis::Fast;

__PACKAGE__->mk_classdata(qw/_redis_connection/);

sub get_session_data {

 view all matches for this distribution


Catalyst-Plugin-Session-Store-Redis

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Session/Store/Redis.pm  view on Meta::CPAN

/;
use MRO::Compat;
use MIME::Base64 qw(encode_base64 decode_base64);
use Redis;
use Storable qw/nfreeze thaw/;
use Try::Tiny;

__PACKAGE__->mk_classdata(qw/_session_redis_storage/);

sub get_session_data {
    my ($c, $key) = @_;

 view all matches for this distribution


Catalyst-Plugin-Static-File

 view release on metacpan or  search on metacpan

lib/Catalyst/Plugin/Static/File.pm  view on Meta::CPAN

use File::Spec;
use File::stat;
use IO::File;
use Plack::MIME;
use Plack::Util;
use Try::Tiny;

use namespace::autoclean;

our $VERSION = 'v0.2.3';

 view all matches for this distribution


Catalyst-Runtime

 view release on metacpan or  search on metacpan

lib/Catalyst.pm  view on Meta::CPAN

use attributes;
use String::RewritePrefix;
use Catalyst::EngineLoader;
use utf8;
use Carp qw/croak carp shortmess/;
use Try::Tiny;
use Safe::Isa;
use Moose::Util 'find_meta';
use Plack::Middleware::Conditional;
use Plack::Middleware::ReverseProxy;
use Plack::Middleware::IIS6ScriptNameFix;

lib/Catalyst.pm  view on Meta::CPAN

=head1 EXCEPTIONS

Generally when you throw an exception inside an Action (or somewhere in
your stack, such as in a model that an Action is calling) that exception
is caught by Catalyst and unless you either catch it yourself (via eval
or something like L<Try::Tiny> or by reviewing the L</error> stack, it
will eventually reach L</finalize_errors> and return either the debugging
error stack page, or the default error page.  However, if your exception
can be caught by L<Plack::Middleware::HTTPExceptions>, L<Catalyst> will
instead rethrow it so that it can be handled by that middleware (which
is part of the default middleware).  For example this would allow

 view all matches for this distribution


Catalyst-TraitFor-Controller-PermissionCheck

 view release on metacpan or  search on metacpan

lib/Catalyst/TraitFor/Controller/PermissionCheck.pm  view on Meta::CPAN

BEGIN {
  $Catalyst::TraitFor::Controller::PermissionCheck::VERSION = '0.04';
}

use Moose::Role;
use Try::Tiny;

## ABSTRACT: Provides an opinionated method for verifying permissions on a per-action basis by inspecting the user.


# Requires setup in the consuming class.

 view all matches for this distribution


Catalyst-TraitFor-Controller-Ping

 view release on metacpan or  search on metacpan

lib/Catalyst/TraitFor/Controller/Ping.pm  view on Meta::CPAN


#ABSTRACT: Provides a ping action for consuming controllers

use MooseX::MethodAttributes::Role;
use namespace::autoclean;
use Try::Tiny;


has model_name => (isa => 'Str', is => 'ro', predicate => 'has_model_name', clearer => '_clear_model_name', writer => '_set_model_name');


 view all matches for this distribution


Catalyst-TraitFor-Request-DecodedParams

 view release on metacpan or  search on metacpan

lib/Catalyst/TraitFor/Request/DecodedParams/JSON.pm  view on Meta::CPAN

package Catalyst::TraitFor::Request::DecodedParams::JSON;

use Moose::Role;
use namespace::autoclean;
use JSON::Any;
use Try::Tiny;

our $VERSION = '0.01';

with 'Catalyst::TraitFor::Request::DecodedParams';

 view all matches for this distribution


Catalyst-View-HTML-Mason

 view release on metacpan or  search on metacpan

lib/Catalyst/View/HTML/Mason.pm  view on Meta::CPAN

package Catalyst::View::HTML::Mason;
our $AUTHORITY = 'cpan:FLORA';
# ABSTRACT: HTML::Mason rendering for Catalyst
$Catalyst::View::HTML::Mason::VERSION = '0.19';
use Moose;
use Try::Tiny;
use MooseX::Types::Moose qw/ArrayRef HashRef ClassName Str Bool Object CodeRef/;
use MooseX::Types::Structured qw/Tuple/;
use Encode::Encoding;
use Data::Visitor::Callback;
use Module::Runtime;

 view all matches for this distribution


Catalyst-View-Haml

 view release on metacpan or  search on metacpan

lib/Catalyst/View/Haml.pm  view on Meta::CPAN

use Moose;
use Text::Haml;
use Path::Class::File;
use Encode;
use Carp;
use Try::Tiny;
use namespace::autoclean;

extends 'Catalyst::View';
our $VERSION = '1.00';

 view all matches for this distribution


Catalyst-View-Spreadsheet-Template

 view release on metacpan or  search on metacpan

lib/Catalyst/View/Spreadsheet/Template.pm  view on Meta::CPAN

use Moose;
use namespace::autoclean;
# ABSTRACT: render Spreadsheet::Template templates in Catalyst

use Path::Class;
use Try::Tiny;

use Spreadsheet::Template;

extends 'Catalyst::View';

 view all matches for this distribution


CatalystX-ASP

 view release on metacpan or  search on metacpan

lib/CatalystX/ASP/View.pm  view on Meta::CPAN

use namespace::autoclean;
use Moose;
use CatalystX::ASP;
use Scalar::Util qw(blessed);
use HTTP::Date qw(time2str);
use Try::Tiny;

extends 'Catalyst::View';

has 'asp' => (
    is  => 'rw',

 view all matches for this distribution


( run in 0.566 second using v1.01-cache-2.11-cpan-05444aca049 )