GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Vend::Parser(3) User Contributed Perl Documentation Vend::Parser(3)

Vend::Parser - Interchange parser class

"Vend::Parser" will tokenize a Interchange page when the $p->parse() method is called. The document to parse can be supplied in arbitrary chunks. Call $p->eof() the end of the document to flush any remaining text. The return value from parse() is a reference to the parser object.
$self->start($tag, $attr, $attrseq, $origtext)
This method is called when a complete start tag has been recognized. The first argument is the tag name (in lower case) and the second argument is a reference to a hash that contain all attributes found within the start tag. The attribute keys are converted to lower case. Entities found in the attribute values are already expanded. The third argument is a reference to an array with the lower case attribute keys in the original order. The fourth argument is the original Interchange page.
$self->end($tag)
This method is called when an end tag has been recognized. The argument is the lower case tag name.
$self->text($text)
This method is called when plain text in the document is recognized. The text is passed on unmodified and might contain multiple lines. Note that for efficiency reasons entities in the text are not expanded.

Copyright 2002-2007 Interchange Development Group Copyright 1997-2002 Red Hat, Inc. Original HTML::Parser module copyright 1996 Gisle Aas.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Vend::Parser - Mike Heins <mike@perusion.com> HTML::Parser - Gisle Aas <aas@sn.no>
2010-03-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.