"be consistent" | |
PerlMonks |
Can figure out a way to get File::Grep's fgrep to chomp matchesby Lady_Aleena (Priest) |
on May 13, 2017 at 23:36 UTC ( [id://1190241]=perlquestion: print w/replies, xml ) | Need Help?? |
Lady_Aleena has asked for the wisdom of the Perl Monks concerning the following question: Hello. I've been stuck for over an hour now. I can't figure out how to get File::Grep's fgrep to return chomped values in its matches. I've tried chomping $file, chomping $_ in the fgrep, and more. Am I using it wrong, not understand something in the module description, or just plain out of luck and have to munge the values of matches later?
The output is
I'm at the end of my abilities. No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena
Back to
Seekers of Perl Wisdom
|
|