]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
Added comment to Maypole::handler()
[maypole.git] / lib / Maypole.pm
index 566895129efcadea641af19e81fa13d059c9e9ac..5bb07d519a985474532c5c96240c32fc7d0f7c71 100644 (file)
@@ -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 <http://modperlbook.org/html/ch25_01.html>
 sub handler : method 
 {
     # See Maypole::Workflow before trying to understand this.