Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Perl treats period as space in stringby htmanning (Friar) |
on Jul 20, 2021 at 20:03 UTC ( [id://11135228]=perlquestion: print w/replies, xml ) | Need Help?? |
htmanning has asked for the wisdom of the Perl Monks concerning the following question:
Monks,
I have a database of phrases that I'm checking a string against. Perl recognizes all periods as spaces even if I don't want it to. What is the workaround for this?
The above recognizes "club.market" and "club market" but I only want to recognize the one with the period. What am I missing?
Back to
Seekers of Perl Wisdom
|
|