forked from doy/try-tiny
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
63 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Peter Rabbitson <[email protected]> Peter Rabbitson <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name = Try-Tiny | ||
author = Yuval Kogman <[email protected]> | ||
author = Jesse Luehrs <[email protected]> | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
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); | ||
|
||
|
@@ -161,10 +160,6 @@ __END__ | |
=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 | ||
|
@@ -612,15 +607,5 @@ L<http://web.archive.org/web/20100305133605/http://nothingmuch.woobling.org/talk | |
L<http://github.com/nothingmuch/try-tiny/> | ||
=head1 AUTHOR | ||
Yuval Kogman E<lt>[email protected]E<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 | ||