Have you tried installing HTML-Tree (which contains HTML::TreeBuilder) to solve your first problem?
Concerning your second problem, the print statement is indicating $res is an HTTP::Response object. Have you read the documentation for this class? The is_* and content methods should be of primary interest. There's also as_string, which returns the whole response (headers and all) as text.
In reply to Re: Working with WWW::Mechanize
by ikegami
in thread Working with WWW::Mechanize
by cdherold
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |