Add a comment to remind others of what I forgot... (that you probably need a propertyImpliedAccessAllowed to use methodMissing)

This commit is contained in:
ian%hixie.ch 2002-09-06 02:01:48 +00:00
parent 239d98ec13
commit 8091275c08

View File

@ -156,7 +156,11 @@ sub output {
# which returns a reference which will be treated just as a
# normal output service. In particular, this means that any
# method could be called. So most output hooks should use
# methodMissing much like PLIF::Output::Generic.
# methodMissing much like PLIF::Output::Generic. (Don't
# forget to implement a strict propertyImpliedAccessAllowed
# method -- see the PLIF::Output module for an example. If
# you don't, then outputs with zero or just one arguments
# will be treated as properties, not methods.)
# * passthrough hooks should then call the original method
# again on the argument of the getOutputHook method (which
# is the next object). Override hooks (like the XML RPC one)