Permalink
Browse files

remove useless use of block in a map; no functional changes

  • Loading branch information...
1 parent fe88404 commit 8a8ac02a8e9edfebe0169df1088f060bec977781 @moritz moritz committed Jun 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ufo
View
@@ -131,7 +131,7 @@ sub get_sources() {
# the keys (containing names modules) being nodes, and the values
# (containing arrays of names) denoting directed edges.
- my @modules = map { path-to-module-name($_) }, @module-files;
+ my @modules = map &path-to-module-name, @module-files;
my %module-to-path = @modules Z=> @module-files;
my %usages_of;
for @module-files -> $module-file {

0 comments on commit 8a8ac02

Please sign in to comment.