Normally I'd be sorry for opening a can of worms, but this one was informative enough that I'm glad I did. :-) After thinking about it for a few minutes, I can't think of a use for list() that doesn't just count elements.. so it does seem like a rather useless addition.. and confusing too since there really can't be an opposite to scalar(). Perhaps that should be added to the POD docs for scalar(). Until it was pointed out to me, I didn't realise how little sense the reverse was. It should be obvious, but from the number of times it gets talked about, it isn't. You can upgrade a ship into a fleey, but how do you turn a fleet into a ship? (Other than sink all but one of them:) -- Ian
- RE: How do I determine number of matches in a regex? Wagner-David
- RE: How do I determine number of matches in a rege... Paul
- RE: How do I determine number of matches in a ... iansmith
- RE: How do I determine number of matches i... Brett W. McCoy
- RE: How do I determine number of match... iansmith
- RE: How do I determine number of ... Brett W. McCoy
- Re: How do I determine number... Michael Fowler
- RE: How do I determine nu... Paul Burkett
- Re: How do I determine number of match... Michael Fowler
- Re: How do I determine number of matches i... Randal L. Schwartz
- Re: How do I determine number of match... iansmith
- Re: How do I determine number of ... Brett W. McCoy
- Re: How do I determine number... iansmith
- Re: How do I determine nu... Randal L. Schwartz