Skip to content

Commit

Permalink
0.01
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Jun 5, 2011
0 parents commit f7a1e9b
Show file tree
Hide file tree
Showing 9 changed files with 187 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Changes
@@ -0,0 +1,5 @@
---
version: 0.01
date: Sun Jun 5 23:29:22 EST 2011
changes:
- First Release
2 changes: 2 additions & 0 deletions Makefile.PL
@@ -0,0 +1,2 @@
BEGIN { $PM = 'lib/perl5/i.pm' }
use inc::Module::Package 'Ingy:modern 0.08';
29 changes: 29 additions & 0 deletions README
@@ -0,0 +1,29 @@
NAME
perl5::i - perl5 plugin for perl5i

SYNOPSIS
use perl5-i;

DESCRIPTION
This is effectively a shorter way of writing:

use perl5i::latest;

SEE ALSO
* perl5

* perl5i

* perl5-1i

AUTHOR
Ingy döt Net <ingy@ingy.net>

COPYRIGHT AND LICENSE
Copyright (c) 2011. Ingy döt Net.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html

36 changes: 36 additions & 0 deletions lib/perl5/i.pm
@@ -0,0 +1,36 @@
##
# name: perl5::i
# abstract: perl5 plugin for perl5i
# author: Ingy döt Net <ingy@ingy.net>
# license: perl
# copyright: 2011
# see:
# - perl5
# - perl5i
# - perl5-1i

package perl5::i;
use 5.010_000;
use strict;
use warnings;
use perl5i v2.6.1 ();
use perl5i::latest ();

our $VERSION = '0.01';

sub import {
@_ = ('perl5i::latest');
goto &perl5i::latest::import;
}

1;

=head1 SYNOPSIS
use perl5-i;
=head1 DESCRIPTION
This is effectively a shorter way of writing:
use perl5i::latest;
30 changes: 30 additions & 0 deletions lib/perl5/i0.pm
@@ -0,0 +1,30 @@
##
# name: perl5::i0
# abstract: perl5 plugin for perl5i::0
# author: Ingy döt Net <ingy@ingy.net>
# license: perl
# copyright: 2011
# see:
# - perl5::i

package perl5::i0;
use perl5i::0 v2.6.1 ();

1;

sub import {
@_ = ('perl5i::0');
goto &perl5i::0::import;
}

1;

=head1 SYNOPSIS
use perl5-i0;
=head1 DESCRIPTION
This is effectively a shorter way of writing:
use perl5i::0;
30 changes: 30 additions & 0 deletions lib/perl5/i1.pm
@@ -0,0 +1,30 @@
##
# name: perl5::i1
# abstract: perl5 plugin for perl5i::1
# author: Ingy döt Net <ingy@ingy.net>
# license: perl
# copyright: 2011
# see:
# - perl5::i

package perl5::i1;
use perl5i::1 v2.6.1 ();

1;

sub import {
@_ = ('perl5i::1');
goto &perl5i::1::import;
}

1;

=head1 SYNOPSIS
use perl5-i1;
=head1 DESCRIPTION
This is effectively a shorter way of writing:
use perl5i::1;
30 changes: 30 additions & 0 deletions lib/perl5/i2.pm
@@ -0,0 +1,30 @@
##
# name: perl5::i2
# abstract: perl5 plugin for perl5i::2
# author: Ingy döt Net <ingy@ingy.net>
# license: perl
# copyright: 2011
# see:
# - perl5::i

package perl5::i2;
use perl5i::2 v2.6.1 ();

1;

sub import {
@_ = ('perl5i::2');
goto &perl5i::2::import;
}

1;

=head1 SYNOPSIS
use perl5-i2;
=head1 DESCRIPTION
This is effectively a shorter way of writing:
use perl5i::2;
8 changes: 8 additions & 0 deletions t/autobox.t
@@ -0,0 +1,8 @@
use Test::More tests => 3;

use perl5-i;

my $answer = 42;
[42, 43, 44]->foreach(sub {
is $_[0], $answer++, "Number $_[0] is ok";
});
17 changes: 17 additions & 0 deletions t/use_ok.t
@@ -0,0 +1,17 @@
use Test::More tests => 1;

BEGIN { $SIG{__WARN__} = sub {} }

package t0;
use perl5-i0;

package t1;
use perl5-i1;

package t2;
use perl5-i2;

package main;
use perl5-i;

pass 'All perl5i modules worked';

0 comments on commit f7a1e9b

Please sign in to comment.