X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=5bb07d519a985474532c5c96240c32fc7d0f7c71;hb=9c46db42380b9098624d080a919830e47669e2b9;hp=566895129efcadea641af19e81fa13d059c9e9ac;hpb=436e67e2ddca8e590809acea95dd4d47b4726da6;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 5668951..5bb07d5 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -58,6 +58,11 @@ sub init } +# handler() has a method attribute so that mod_perl will invoke +# BeerDB->handler() as a method rather than a plain function +# BeerDB::handler() and so this inherited implementation will be +# found. See e.g. "Practical mod_perl" by Bekman & Cholet for +# more information sub handler : method { # See Maypole::Workflow before trying to understand this.