The stupid question is the question not asked | |
PerlMonks |
Re: Named captures or positional variablesby RonW (Parson) |
on Dec 10, 2014 at 20:54 UTC ( [id://1109955]=note: print w/replies, xml ) | Need Help?? |
I think it depends on the expression the captures are embedded in. Without seeing the whole expressions, your example appears to benefit from named captures because of the varying order that equivalent "fields" occur. However, readability could be an issue, even with the /x option - and even when splitting expressions in to separately defined sub-expressions.
In Section
Seekers of Perl Wisdom
|
|