#!/bin/perl -w use strict; use XML::Simple; # depends on XML::Parser use Data::Denter; # just to check what's read in by my $data= XMLin( \*DATA); # read the data, you would use "./$file" print Denter( $data), "\n"; # just checking __DATA__ Joshua Kruckkrujosjonny5 John Doejdoejane