#!/usr/bin/perl -w use strict; use XML::Simple; use Data::Dumper; my $content = XMLin(qq| 124 1 25 123 web content managment en 3 1 web based content management en 5 1 3.14 en 3 2 babinet's en 2 0 |); print "... $content->{'soapenv:Envelope'}{'soapenv:Body'}{'getKeywordVariationsResponse'}{'getKeywordVariationsReturn'}{'moreSpecific'}[0]->{'text'} ...\n"; #print Dumper(\$content); #### Use of uninitialized value in concatenation (.) or string at xmlparser.pl line 54.