in reply to comments and qw
Would Re: Build your array with push (and the other responses to the parent Build your array with push) be applicable? (As for speed I'm pretty sure YAML::Syck would be fairly quick)