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
0 parents
commit f7a1e9b
Showing
9 changed files
with
187 additions
and
0 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,5 @@ | ||
--- | ||
version: 0.01 | ||
date: Sun Jun 5 23:29:22 EST 2011 | ||
changes: | ||
- First Release |
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,2 @@ | ||
BEGIN { $PM = 'lib/perl5/i.pm' } | ||
use inc::Module::Package 'Ingy:modern 0.08'; |
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,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 | ||
|
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,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; |
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,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; |
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,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; |
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,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; |
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,8 @@ | ||
use Test::More tests => 3; | ||
|
||
use perl5-i; | ||
|
||
my $answer = 42; | ||
[42, 43, 44]->foreach(sub { | ||
is $_[0], $answer++, "Number $_[0] is ok"; | ||
}); |
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 @@ | ||
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'; |