Skip to content

Commit

Permalink
more consistent quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 5, 2014
1 parent 7cc3226 commit 6e5f702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

5.25 2014-08-05
5.25 2014-08-06
- Added reduce method to Mojo::Collection. (sri, batman)
- Improved sort method in Mojo::Collection to use $a and $b. (batman)
- Improved documentation browser CSS.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Collection.pm
Expand Up @@ -98,7 +98,7 @@ sub sort {
my $caller = caller;
no strict 'refs';
my @sorted = sort {
local (*{"$caller\::a"}, *{"$caller\::b"}) = (\$a, \$b);
local (*{"${caller}::a"}, *{"${caller}::b"}) = (\$a, \$b);
$a->$cb($b);
} @$self;
return $self->new(@sorted);
Expand Down

0 comments on commit 6e5f702

Please sign in to comment.