Do you know where your variables are? | |
PerlMonks |
Re: mixed case with matchby kcott (Archbishop) |
on Sep 21, 2020 at 19:21 UTC ( [id://11122027]=note: print w/replies, xml ) | Need Help?? |
G'day catfish1116, You could use the 'i' modifier. See "perlre: Modifiers". You might also want to capture the exact variation matched so your subsequent print is more accurate; for instance, "... until I found perl", "... until I found Perl", "... until I found pErL", etc. See "perlre: Capture groups". — Ken
In Section
Seekers of Perl Wisdom
|
|