HTML::FormatText::WithLinks takes HTML and turns it into plain text but prints all the links in the HTML as footnotes. By default it attempts to mimic the format of the lynx(1) -dump option.