Michael G Schwern writes:
: (grep {...} @stuff)[0] will work, but its inelegant.

It's inelegant only because the slice doesn't know how to tell the
iterator it only needs one value.  If it did know, you'd call it
elegant.  :-)

Larry

Reply via email to