Permalink
Browse files

Make target_index() return a list as the docs say

  • Loading branch information...
hinrik committed Jul 2, 2009
1 parent 8ff5996 commit c7c1fe2437fba387f07fb139be889feb0ecd1d03
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/App/Grok.pm
View
@@ -31,7 +31,7 @@ sub run {
$self->_get_options();
if ($opt{index}) {
print $self->target_index();
print join("\n", $self->target_index()) . "\n";
return;
}
@@ -90,7 +90,7 @@ sub target_index {
push @index, map { "S32-$_" } @sections;
s/\.pod$// for @index;
return join("\n", @index) . "\n";
return @index;
}
sub detect_source {

0 comments on commit c7c1fe2

Please sign in to comment.