htmanning has asked for the wisdom of the Perl Monks concerning the following question:
I'm not sure what I'm doing wrong, but it inserts the first name in every text field that has the type login.if ($text !=~ m/$firstname/ && $type eq "login") { $text = "<b>$firstname:</b> " . $text; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching text in a string
by BrowserUk (Patriarch) on Apr 16, 2015 at 09:11 UTC | |
by hdb (Monsignor) on Apr 16, 2015 at 09:17 UTC | |
by BrowserUk (Patriarch) on Apr 16, 2015 at 09:21 UTC | |
by htmanning (Friar) on Apr 16, 2015 at 09:36 UTC | |
|
Re: Matching text in a string
by Corion (Patriarch) on Apr 16, 2015 at 09:12 UTC | |
|
Re: Matching text in a string
by Your Mother (Archbishop) on Apr 16, 2015 at 15:06 UTC |