powerhouse has asked for the wisdom of the Perl Monks concerning the following question:
if ($string eq m/(this|or_this|or_that)/i) {
if ($string eq "this" || $string eq "or_this" || $string eq "or_that") + {
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: matching strings...
by diotalevi (Canon) on Jan 27, 2003 at 07:44 UTC | |
|
Re: matching strings...
by robartes (Priest) on Jan 27, 2003 at 07:31 UTC | |
|
Re: matching strings...
by dempa (Friar) on Jan 27, 2003 at 07:32 UTC | |
by powerhouse (Friar) on Jan 27, 2003 at 07:52 UTC | |
|
Re: matching strings...
by Aragorn (Curate) on Jan 27, 2003 at 08:32 UTC | |
|
Re: matching strings...
by gjb (Vicar) on Jan 27, 2003 at 08:25 UTC | |
by diotalevi (Canon) on Jan 27, 2003 at 08:32 UTC | |
|
Re: matching strings...
by Aristotle (Chancellor) on Jan 27, 2003 at 11:36 UTC |