Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Named captures or positional variables

by RonW (Parson)
on Dec 10, 2014 at 20:54 UTC ( #1109955=note: print w/replies, xml ) Need Help??


in reply to Named captures or positional variables

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1109955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2021-01-26 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?