func ?PATTERN?; is no different than func $x+1;. There's nothing special (or odd) about it.
I think I got it. So func ?PAT? is just another way of writing
func($_ =~ ?PAT?)
In reply to Re^2: Why do I need parentheses here?
by rovf
in thread Why do I need parentheses here?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |