pfenwick / autodie

Make functions succeed or die in Perl, with lexical scope.

This URL has Read+Write access

Vincent Pit (author)
Sun Jul 05 08:53:09 -0700 2009
pfenwick (committer)
Sun Jul 05 18:29:11 -0700 2009
autodie / Makefile.PL
100644 29 lines (20 sloc) 0.846 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl -w
use strict;
use inc::Module::Install;
 
name( 'autodie');
 
all_from( 'lib/autodie.pm');
 
version_from( 'lib/autodie/exception.pm');
test_requires( 'Test::More');
author( 'Paul Fenwick <pjf@cpan.org>');
 
requires( 'perl' => '5.8.0');
recommends( 'IPC::System::Simple' => '0.12'); # For autodying system()
 
feature( 'Support for autodying system()',
                -default => 1,
                'IPC::System::Simple' => '0.12'
);
 
resources( repository => 'http://github.com/pfenwick/autodie/tree/master');
resources( bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=autodie');
resources( license => 'http://dev.perl.org/licenses/');
resources( Blog => 'http://pjf.id.au/blog/toc.html?tag=autodie');
 
installdirs( 'perl'); # This overwrites a core module!
 
WriteAll();