diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-05-08 07:58:38 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-05-08 07:58:38 +0000 |
commit | 256fb825c25ddfc513ac072a2e5820f686f4e72c (patch) | |
tree | 4c4ce732215a72b110698a2778024faa8595d655 /textproc/p5-XML-SAX-Base/pkg-descr | |
parent | 290d06a8a37f0ddee8f2d2c49444562fa64b5a49 (diff) |
Notes
Diffstat (limited to 'textproc/p5-XML-SAX-Base/pkg-descr')
-rw-r--r-- | textproc/p5-XML-SAX-Base/pkg-descr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/p5-XML-SAX-Base/pkg-descr b/textproc/p5-XML-SAX-Base/pkg-descr new file mode 100644 index 000000000000..008e6af3ba17 --- /dev/null +++ b/textproc/p5-XML-SAX-Base/pkg-descr @@ -0,0 +1,12 @@ +XML::SAX::Base has a very simple task - to be a base class for PerlSAX drivers +and filters. It's default behaviour is to pass the input directly to the output +unchanged. It can be useful to use this module as a base class so you don't have +to, for example, implement the characters() callback. + +The main advantages that it provides are easy dispatching of events the right +way (ie it takes care for you of checking that the handler has implemented that +method, or has defined an AUTOLOAD), and the guarantee that filters will pass +along events that they aren't implementing to handlers downstream that might +nevertheless be interested in them. + +WWW: http://search.cpan.org/dist/XML-SAX-Base/ |