Also, you may want to check to be sure what you are doing is exactly what you intended to do. ie use Data::Dumper or YAML::Dumper. You may also want to look at an article that planetscape wrote: Re: How can I visualize my complex data structure?. There are a number of ideas outlined that may help you understand your data structure better.