in reply to Reading XML LibXML

You want XML::Rules. With a few simple rules it converts the XML into a data structure. Though $info->{$no_of_entry}{lastname} would be both easier to get and use than $info{"lastname"}[$no_of_entry]

Jenda
Enoch was right!
Enjoy the last years of Rome.