--- /dev/null
+cover_db
+META.*
+MYMETA.*
+Makefile
+blib
+inc
+pm_to_blib
+MANIFEST
+Makefile.old
+nytprof.out
+MANIFEST.bak
+*.sw[po]
+.DS_Store
+.build
+Try-Tiny-*
+*.bs
+*.o
--- /dev/null
+Peter Rabbitson <ribasushi@cpan.org> Peter Rabbitson <rabbit@rabbit.us>
--- /dev/null
+language: perl
+perl:
+ - "5.19"
+ - "5.18"
+ - "5.16"
+ - "5.14"
+ - "5.12"
+ - "5.10"
+ - "5.8"
+install:
+ - cpanm -q --notest Dist::Zilla
+ - dzil authordeps --missing | cpanm -q --notest
+ - dzil listdeps --author --missing | cpanm -q --notest
+script:
+ - dzil test --all
+Revision history for Try-Tiny
+{{$NEXT}}
- fix tests failing on 5.6.x due to differing DESTROY semantics
- excise superfluous local($@) call - 7% speedup
- fix (fsvo) broken URLs (RT#55659)
- fix the prototypes shown in docs to match code (RT#79590; thanks, Pushtaev
Vadim)
- warn loudly on exceptions in finally() blocks
+ - dzilify
0.12
- doc fixes
+++ /dev/null
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-\bSCCS\b
-,v$
-\B\.svn\b
-\B\.git\b
-\b_darcs\b
-
-# Avoid Makemaker generated and utility files.
-\bMANIFEST\.bak
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib\.ts$
-\bpm_to_blib$
-\bblibdirs\.ts$ # 6.18 through 6.25 generated this
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-
-# Avoid Devel::Cover files.
-\bcover_db\b
-
-### DEFAULT MANIFEST.SKIP ENDS HERE ####
-
-\.DS_Store$
-\.sw.$
-(\w+-)*(\w+)-\d\.\d+(?:\.tar\.gz)?$
-
-\.t\.log$
-
-\.prove$
-
-# XS shit
-\.(?:bs|c|o)$
-
-\.gitignore$
-
-MYMETA
-
-maint
+++ /dev/null
-use strict;
-
-use ExtUtils::MakeMaker;
-
-require 5.006;
-
-WriteMakefile(
- NAME => 'Try::Tiny',
- VERSION_FROM => 'lib/Try/Tiny.pm',
- INSTALLDIRS => 'site',
- PL_FILES => { },
- PREREQ_PM => {
- 'Test::More' => 0,
- },
- META_MERGE => {
- dynamic_config => 0,
- resources => {
- homepage => 'https://github.com/doy/try-tiny.git',
- repository => 'git://github.com/doy/try-tiny.git',
- },
- },
-);
--- /dev/null
+name = Try-Tiny
+author = Yuval Kogman <nothingmuch@woobling.org>
+author = Jesse Luehrs <doy@tozt.net>
+license = MIT
+copyright_holder = Yuval Kogman
+
+[@DOY]
+:version = 0.12
+dist = Try-Tiny
+repository = github
+authority = cpan:NUFFIN
+bugtracker_web = https://github.com/doy/try-tiny/issues
+bugtracker_mailto =
+done_testing = 0
+Git::Tag_tag_format = %N-%v
+Git::NextVersion_version_regexp = ^Try-Tiny-(.+)$
+
+[ContributorsFromGit]
+
+[AutoPrereqs]
+; tests optionally require 5.010
+skip = ^perl$
+
+[Prereqs]
+perl = 5.006
package Try::Tiny;
+use 5.006;
+# ABSTRACT: minimal try/catch with proper preservation of $@
use strict;
use warnings;
-our $VERSION = "0.12";
-$VERSION = eval $VERSION if $VERSION =~ /_/;
-
use base 'Exporter';
our @EXPORT = our @EXPORT_OK = qw(try catch finally);
=pod
-=head1 NAME
-
-Try::Tiny - minimal try/catch with proper preservation of $@
-
=head1 SYNOPSIS
You can use Try::Tiny's C<try> and C<catch> to expect and handle exceptional
L<http://github.com/nothingmuch/try-tiny/>
-=head1 AUTHOR
-
-Yuval Kogman E<lt>nothingmuch@woobling.orgE<gt>
-
-=head1 COPYRIGHT
-
- Copyright (c) 2009 Yuval Kogman. All rights reserved.
- This program is free software; you can redistribute
- it and/or modify it under the terms of the MIT license.
-
=cut