in reply to New File Not Working
Also, it looks like you are looking for dates in YYYY-MM-DD format, yet your data is in MM/DD/YYYY format. You're also going to get just the first date in each line, but I'm guessing that was your intent.
In Section
Seekers of Perl Wisdom