in reply to Unexpected deletion of data using > operator
Can you provide some sample data for @customerarray?
my first suspicion would be that the split isn't giving you what you expect ... e.g. if the datestamp comes out undef, it would explain what you're seeing.