Skip to content

Commit

Permalink
fix pod typo about adding helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Oct 25, 2013
1 parent 18a6232 commit 7426af6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pod/lib/Path/Iterator/Rule.pm
@@ -1,3 +1,4 @@

=head1 USAGE
=head2 Constructors
Expand Down Expand Up @@ -475,7 +476,7 @@ if the filename is "foo":
foo => sub {
my @args = @_; # do this to customize closure with arguments
return sub {
my ($item, $basename) = shift;
my ($item, $basename) = @_;
return if -d "$item";
return $basename =~ /^foo$/;
}
Expand Down

0 comments on commit 7426af6

Please sign in to comment.