You're creating a HTTP::Response out of thin air. It does not run off to the server and fetches $url. Maybe you want to actually fetch content through LWP::UserAgent or WWW::Mechanize and then use the ->decoded_content method on whatever response they give you?
In reply to Re^3: How to determine HTML encoding
by Corion
in thread How to determine HTML encoding
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |