printsmy $string = 'somechar acters'; if ($string =~ /(int)|(char)|(bool)|(long)/){ print "matches\n"; }
matches
In reply to Re: multiple options for pattern match help
by svenXY
in thread multiple options for pattern match help
by barryscott
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |