HTML::ListScraper::Tag - sequence item found by HTML::ListScraper
All documented methods are simple accessors, taking no arguments and leaving the
HTML::ListScraper::Tag object unchanged.
Tag name. HTML::ListScraper extends the HTML::Parser convention of naming tags in lowercase: closing tags are identified by a prepended '/'. After that, the name itself consists of ASCII letters and numbers. In case your input veers rather far from HTML, tags can also contain '-' and ':', but no more exotic characters. Empty name is not allowed. Angle brackets are not part of the name - if you need them, you can always add them when formatting
Tag position (zero-based).
Value of the
href attribute, if the parsed tag had a
href attribute (with non-empty value). Otherwise,
Text following the tag, if any. Note that even closing tags can have associated text, although in well-formed HTML, that text really belongs under some previous opening tag.