Mike Pastore wrote: > On Wed, 16 Aug 2000, John Porter wrote: > > grep() always treats its "second" arg as a list, even if it's a scalar, > > or some other list-of-one (or none); and grep() always returns a list, > > even if it's a list of one (or none). > > True on the first part, false on the second. In scalar context, grep > returns the number of times the block or expression evaluated 'true'. Oh yeah! :-/ > > Highlander variables acknowledge the fact ... > > When I said 'highlander' I meant one variable per variable name. Please > read RFC9. Yes, I have, I know, that's what I meant by it too. -- John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid of @% J. David Blackstone
- Re: RFC 109 (v1) Less line noise - let's get rid ... Piers Cawley
- Re: RFC 109 (v1) Less line noise - let's get rid ... Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let's get ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Mike Pastore
- Re: RFC 109 (v1) Less line noise - let's get rid ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get ... Jon Ericson
- Re: RFC 109 (v1) Less line noise - let's ... John Porter
- Re: RFC 109 (v1) Less line noise - le... Nathan Torkington
- Re: RFC 109 (v1) Less line noise - let's get ... Mike Pastore
- Re: RFC 109 (v1) Less line noise - let's ... John Porter
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Syloke Soong
- RE: RFC 109 (v1) Less line noise - let's get rid of @% Myers, Dirk
- Re: RFC 109 (v1) Less line noise - let's get rid ... Karl Glazebrook
- Re: RFC 109 (v1) Less line noise - let's get rid of @% Jerrad Pierce
- Re: RFC 109 (v1) Less line noise - let's get rid ... Casey R. Tweten