in reply to Counting chars in a HTML-page

From the documentation on WWW:Mechanize:
"Returns a text-only version of the page, with all HTML markup stripped. This feature requires HTML::TreeBuilder to be installed, or a fatal error will be thrown."
My guess is that "all HTML markup stripped" is the cause of your discrepancy

Replies are listed 'Best First'.
Re^2: Counting chars in a HTML-page
by Illuminatus (Curate) on Aug 01, 2008 at 20:28 UTC
    Update on size check
    You can use the stat command to look at the size, if you really want to know what the unparsed size.