$ perl htmltreexpather.pl junktitle.html _tag title
HTML::Element=HASH(0xcded54) 0.0.0
four
/html/head/title
/html/head/title
/html/head/title
------------------------------------------------------------------
HTML::Element=HASH(0xcdea04) 0.0.1
one
/html/head/title[2]
/html/head/title[2]
/html/head/title[2]
------------------------------------------------------------------
HTML::Element=HASH(0xcde954) 0.0.2
two
/html/head/title[3]
/html/head/title[3]
/html/head/title[3]
------------------------------------------------------------------
HTML::Element=HASH(0xcde8e4) 0.0.3
three
/html/head/title[4]
/html/head/title[4]
/html/head/title[4]
------------------------------------------------------------------
##################################################################