http://www.perlmonks.org?node_id=742395


in reply to Re: use of useless void in context
in thread use of useless void in context

I agree. From what I can tell, the OP could use a backreference instead ( \1, \2, etc ), but I can't quite puzzle out what the OP is trying to accomplish.