good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^4: Word Count and Matchby PilotinControl (Pilgrim) |
on Jan 08, 2021 at 13:30 UTC ( [id://11126600]=note: print w/replies, xml ) | Need Help?? |
@Dave: There actually is a problem with the code. I've modified the code below and the output. As you can see it lists the names twice instead of just once. That's why I wanted to match the data exactly using the specific field in the file. (STDOUT) There are 1 Dave Name(s) (OUTPUT) There are 1 Dave Name(s) (STDOUT) There are 2 Will Name(s) (OUTPUT) There are 2 Will Name(s)
In Section
Seekers of Perl Wisdom
|
|