Oops I forgot to attach the script as promised didn't I. I also meant to say that this is a fine place to discuss questions about eprints too. Although I imagine it might be good to ask on eprints specific lists where there might be more eprints eyes.
//Ed
test.pl
Description: Binary data