in reply to Re^2: Capturing regex from map
in thread Capturing regex from map
Why did you wonder why I wondered?
Because most times when this kind of question -- someone second guessing a piece of working code -- comes up, there is usually some clue, either in the post, or in the history of this place, to indicate what the fear that underlies the question is.
With your question I detect nothing that indicates either a commonly frowned upon, but otherwise workable construct -- as we often see with map in a scalar or void context for example -- nor anything in your post to indicate the basis of your doubts.
I cannot see any reason not to use the construct for those occasions when it does the required task. It is concise and to my eyes clear. But, there is the possibility that I'm missing something, hence I wanted to know more ...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Capturing regex from map
by LanX (Saint) on Sep 13, 2013 at 17:45 UTC | |
by BrowserUk (Patriarch) on Sep 13, 2013 at 17:56 UTC | |
by LanX (Saint) on Sep 13, 2013 at 18:04 UTC |