>>>>> "Daniel" == Daniel Falkenberg <[EMAIL PROTECTED]> writes:
Daniel> Would I now have to go ahead and use HTML::parser or Daniel> something of similar nature to extract headings? Yeah, go with HTML::TokeParser. Daniel> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> Daniel> <HTML><HEAD><TITLE>Get all data from H1</TITLE> </HEAD><BODY Daniel> BGCOLOR="FFFFFF"><h1>I want all if this data extracted from Daniel> heading 1 (h1)</h1> </BODY></HTML> while ($stream->get_tag("h1")) { $data = get_trimmed_text("/h1"); } (Also see perldoc HTML::TokeParser, once it's installed.) - Chris. -- $a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a "In the beginning there was nothing, which exploded." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]