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
- Please make "last" work in "grep&quo... Alexander Farber (EED)
- Re: Please make "last" work in "... Michael G Schwern
- Re: Please make "last" work in &... Graham Barr
- Re: Please make "last" work in &... John Porter
- Re: Please make "last" work in &... Larry Wall
- Re: Please make "last" work ... Michael G Schwern
- Re: Please make "last" w... Graham Barr
- Re: Please make "last&qu... Uri Guttman
- Re: Please make "las... Graham Barr
- Re: Please make "... Bart Lateur
- Re: Please make "... Graham Barr
- Re: Please make "... Jarkko Hietaniemi
- Re: Please make "... Bart Lateur
- Re: Please make "... Damian Conway
- Re: Please make "... Dan Sugalski