Skip to content

Commit

Permalink
fix non-method function call without parentheses
Browse files Browse the repository at this point in the history
Perl complains about this is as a bareword under use strict.
  • Loading branch information
peff committed Mar 21, 2011
1 parent 4e5ee42 commit 2ebfa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MFM/Target.pm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ sub _find_rule {

sub _lookup_rule {
foreach my $f (MFM::Path::components(@_)) {
foreach my $d (MFM::Path::rule) {
foreach my $d (MFM::Path::rule()) {
foreach my $r (bsd_glob("$d/$f", 0)) {
return $r;
}
Expand Down

0 comments on commit 2ebfa8b

Please sign in to comment.