Changeset 19890
- Timestamp:
- 09/25/08 12:35:04 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-Hachero/trunk/lib/App/Hachero/Result.pm
r19883 r19890 31 31 my $self = shift; 32 32 $self->arrayref([]); 33 my $package = ref $self; 34 no strict 'refs'; 35 my $cmp = *{"$package\::cmp"}; 36 for my $value (sort $cmp CORE::values %{$self->data}) { 33 for my $value (sort _cmp CORE::values %{$self->data}) { 37 34 CORE::push @{$self->arrayref}, $value; 38 35 } 39 36 } 40 37 41 sub cmp {38 sub _cmp { 42 39 for (@{__PACKAGE__->primary}) { 43 40 if (my $res = $a->{$_} cmp $b->{$_}) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)