in reply to Re: Why do I need parentheses here?
in thread Why do I need parentheses here?
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?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Why do I need parentheses here?
by ikegami (Patriarch) on May 27, 2009 at 14:17 UTC | |
by rovf (Priest) on May 27, 2009 at 14:57 UTC | |
by ikegami (Patriarch) on May 27, 2009 at 15:01 UTC | |
by rovf (Priest) on May 27, 2009 at 15:08 UTC | |
|
Re^3: Why do I need parentheses here?
by Anonymous Monk on May 27, 2009 at 14:01 UTC |