in reply to
Sorting names using Regular Expressions and placing them in different Files.
open the input file, checking for file-open error
open the output files, checking for file-open errors
for each line in the input file
use a regex or split to see if it has the date you want
write it to the appropriate output when appropriate
close the files
Please try to do that yourself and if you have problems, feel free to come back and tell us which steps are giving you problems.
Comment on
Re: Sorting names using Regular Expressions and placing them in different Files.
Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
In Section
Seekers of Perl Wisdom