'Unicode::Collate' =>
{
'MAINTAINER' => 'sadahiro',
- 'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-0.77-withoutworldwriteables.tar.gz',
+ 'DISTRIBUTION' => 'SADAHIRO/Unicode-Collate-0.78.tar.gz',
'FILES' => q[cpan/Unicode-Collate],
'EXCLUDED' => [ qr{N$},
qr{^data/},
Revision history for Perl module Unicode::Collate.
+0.78 Mon Jul 25 21:29:50 2011
+ - tried fixing the tarball with world writable files.
+ ( http://www.perlmonks.org/?node_id=731935 )
+
0.77 Sun Jul 3 21:15:08 2011
- xs: [perl #93470] [PATCH] consting in Collate.xs by Robin Barker.
no warnings 'utf8';
-our $VERSION = '0.77';
+our $VERSION = '0.78';
our $PACKAGE = __PACKAGE__;
### begin XS only ###
##
## (int position, int length)
-## int position = index(string, substring, position, [undoc'ed grobal])
+## int position = index(string, substring, position, [undoc'ed global])
##
-## With "grobal" (only for the list context),
+## With "global" (only for the list context),
## returns list of arrayref[position, length].
##
sub index
my $subE = $self->splitEnt(shift);
my $pos = @_ ? shift : 0;
$pos = 0 if $pos < 0;
- my $grob = shift;
+ my $glob = shift;
my $lev = $self->{level};
my $v2i = $self->{UCA_Version} >= 9 &&
if (! @$subE) {
my $temp = $pos <= 0 ? 0 : $len <= $pos ? $len : $pos;
- return $grob
+ return $glob
? map([$_, 0], $temp..$len)
: wantarray ? ($temp,0) : $temp;
}
_eqArray(\@strWt, \@subWt, $lev)) {
my $temp = $iniPos[0] + $pos;
- if ($grob) {
+ if ($glob) {
push @g_ret, [$temp, $finPos[$#subWt] - $iniPos[0]];
splice @strWt, 0, $#subWt;
splice @iniPos, 0, $#subWt;
}
}
- return $grob
+ return $glob
? @g_ret
: wantarray ? () : NOMATCHPOS;
}
}
WriteMakefile(
+ 'AUTHOR' => 'SADAHIRO Tomoyuki <SADAHIRO@cpan.org>',
+ 'ABSTRACT' => 'Unicode Collation Algorithm',
'INSTALLDIRS' => $] >= 5.007002 ? 'perl' : 'site',
+ 'LICENSE' => 'perl',
'NAME' => 'Unicode::Collate',
'VERSION_FROM' => 'Collate.pm', # finds $VERSION
'clean' => $clean,