Skip Menu |

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 87449
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: jschueler [...] tqis.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.406



Subject: New functionality request
Originally posted in: http://www.perlmonks.com/?displaytype=print;node_id=1047049;replies=1 Here's a concise summary: ## proposed solution my $result; first_value { $result = foobar($_) } @list; ## desired solution my $result = first_result { foobar($_) } @list ; Specifically, this request is to add first_result() with functionality described in the sample. The purpose is to short-circuit the call to foobar(). Notwithstanding, last_result() would also be helpful, especially for orthogonality. Thanks!