in reply to How can I use perl as an internet browser ?

my @lines = `lynx -dump $URL`;
Note that where a browser puts its line breaks will depend on the widget size and the font.