Skip to content

Commit

Permalink
clarify text
Browse files Browse the repository at this point in the history
  • Loading branch information
xsawyerx authored and veryrusty committed Mar 3, 2016
1 parent aa3ead3 commit dd30065
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Dancer2/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,11 @@ sub _exporter_app {

$plugin_addr
or Carp::croak('Can\'t find originating plugin in first 5 levels');

# this can also be called by App.pm itself
# if the plugin is a
# "candidate" for a hook. App.pm around execute_hook
# "candidate" for a hook
# See: App.pm "execute_hook" method, "around" modifier
if ( ref( $_[0] ) =~ /^Dancer2::Plugin::/ ) {
my $plugin_self = shift @_;
my $hook_name = shift @_;
Expand Down

0 comments on commit dd30065

Please sign in to comment.