in reply to XML::Simple help -- please

In addition, there is no need for you to go through the extra step to get the content of the file. XMLin can directly accpet a file name.

use XML::Simple; my $response = XMLin("offers.xml");