Changeset 37140
- Timestamp:
- 04/03/10 01:51:42 (3 years ago)
- Location:
- lang/perl/Util-Any/trunk
- Files:
-
- 1 added
- 6 modified
-
.shipit (modified) (1 diff)
-
Changes (modified) (1 diff)
-
MANIFEST (modified) (1 diff)
-
Makefile.PL (modified) (1 diff)
-
lib/Util/Any.pm (modified) (8 diffs)
-
t/01-util-kind-data.t (added)
-
t/01-util-kind-list.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Util-Any/trunk/.shipit
r25765 r37140 1 1 steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN, Twitter 2 2 3 svk.tagpattern = Util-Any-%v 4 # svn.tagpattern = http://svn.coderepos.org/share/lang/perl/Util-Any/tags/Util-Any-%v 3 svn.tagpattern = Util-Any-%v 5 4 6 5 twitter.config = ~/.twitterrc -
lang/perl/Util-Any/trunk/Changes
r36328 r37140 1 1 Revision history for Util-Any 2 3 0.19 2010/04/03 02:00:00 4 add List::Pairwise to list. 5 add -data which is as same as -scalar 2 6 3 7 0.18 2010/01/01 06:17:05 -
lang/perl/Util-Any/trunk/MANIFEST
r35510 r37140 15 15 t/01-util-kind-list.t 16 16 t/01-util-kind-scalar.t 17 t/01-util-kind-data.t 17 18 t/01-util-kind-hash.t 18 19 t/01-util-kind-debug.t -
lang/perl/Util-Any/trunk/Makefile.PL
r35474 r37140 15 15 'List::Util' => 0, 16 16 'List::MoreUtils' => 0, 17 'List::Pairwise' => 0, 17 18 'Hash::Util' => 0, 18 19 'Scalar::Util' => 0, -
lang/perl/Util-Any/trunk/lib/Util/Any.pm
r36328 r37140 8 8 9 9 our $Utils = { 10 list => [ qw/List::Util List::MoreUtils / ],11 scalar=> [ qw/Scalar::Util/ ],10 list => [ qw/List::Util List::MoreUtils List::Pairwise/ ], 11 data => [ qw/Scalar::Util/ ], 12 12 hash => [ qw/Hash::Util/ ], 13 13 debug => [ ['Data::Dumper', '', ['Dumper']] ], … … 15 15 }; 16 16 17 $Utils->{'scalar'} = $Utils->{data}; 17 18 # I'll delete no dash group in the above, in future. 18 19 $Utils->{'-' . $_} = $Utils->{$_} foreach keys %$Utils; … … 426 427 =cut 427 428 428 our $VERSION = '0.1 8';429 our $VERSION = '0.19'; 429 430 430 431 =head1 SYNOPSIS … … 593 594 So, it must be diffrent on your environment. 594 595 595 =head2 scalar 596 =head2 -data 597 598 NOTE THAT: its old name is 'scalar' (you can use the name, yet). 596 599 597 600 from Scalar::Util (1.19) … … 610 613 weaken 611 614 612 =head2 hash615 =head2 -hash 613 616 614 617 from Hash::Util (0.05) … … 622 625 unlock_value 623 626 624 =head2 list627 =head2 -list 625 628 626 629 from List::Util (1.19) … … 669 672 zip 670 673 671 =head2 string 674 from List::Pairwise (0.29) 675 676 mapp 677 grepp 678 firstp 679 lastp 680 map_pairwise 681 grep_pairwise 682 first_pairwise 683 last_pairwise 684 pair 685 686 =head2 -string 672 687 673 688 from String::Util (0.11) … … 692 707 wordsplit 693 708 694 =head2 debug709 =head2 -debug 695 710 696 711 from Data::Dumper (2.121) -
lang/perl/Util-Any/trunk/t/01-util-kind-list.t
r25939 r37140 1 1 use Test::More qw/no_plan/; 2 2 3 use Util::Any qw/List/;3 use Util::Any -list; 4 4 no strict 'refs'; 5 5 6 6 foreach (@List::Util::EXPORT_OK) { 7 ok(defined &{$_} , $_); 8 } 9 foreach (@List::Pairwise::EXPORT_OK) { 7 10 ok(defined &{$_} , $_); 8 11 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)