Skip to content

Commit

Permalink
closes #7; fix typo of plugins() in POD and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stevieb9 committed Feb 11, 2018
1 parent 8de5759 commit c3457d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Revision history for Plugin-Simple
1.00 2018-02-11
- fix missing closing single quote in SYNOPSIS (closes #10)
- remove CONTRIBUTING section in POD (closes #9)
- fix incorrect sub name in POD and warnings (closes #7)

0.07 2016-03-28
- fixed a missed croak() if a plugin file can't be found, breaking
Expand Down
4 changes: 2 additions & 2 deletions lib/Plugin/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sub _plugins {
}

if (@_){
croak "usage: plugin(['Load::From'], [can => 'sub']), " .
croak "usage: plugins(['Load::From'], [can => 'sub']), " .
"in that order\n";
}

Expand Down Expand Up @@ -241,7 +241,7 @@ To use both options, simply separate them with a comma.
=head1 FUNCTIONS/METHODS
None. We simply install a C<plugin()> function within the namespace of the
None. We simply install a C<plugins()> function within the namespace of the
package that C<use>d us.
=head1 AUTHOR
Expand Down

0 comments on commit c3457d6

Please sign in to comment.