> $response->content gives you the exact byte values returned by > the server; decoded_content turns it into Perl's internal Unicode > representation (assuming the server is telling the truth about what > encoding the page is in).
Thanks for the clarification, as I wasn't sure of the difference between the two methods. In the case of the work I'm doing, both methods happened to return the same characters. But it sounds like using $response->decoded_content is the preferred method for text unless you know you want $response->content for some reason. John -- sub japh{$_=$_[0];s/[$:]/$"/gs;chop;print $& while/(.)/g;}print chr q:44:,$/ unless &japh (qq=Just$/another$/Perl$/hacker$/=) && print "Gosh, that JAPH you wrote just crashed!\n"; John Refior -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/