Re: Finding the number of occurences in an array



Mintcake schreef:

You must quote an appropriate part of the message that you react on.

How about:

scalar grep /\.txt/, <things/*>;

No, because the question was:

<quote>
is there an easy way of find out how many of
the entries in @gfnames contain the string ".txt"
<quote/>

From that you can assume that others things need to be done with
@gfnames. You cannot assume that the elements without ".txt" don't
matter.

--
Affijn, Ruud

"Gewoon is een tijger."

.



Relevant Pages

  • Re: failing to apply eval to a string
    ... Avner schreef: ... You forgot to quote from the message that you react on. ... your User-Agent header field contains G2, ...
    (comp.lang.perl.misc)
  • Re: all kinds of attention
    ... makes them react. ... Even if it's pulling a quote from one of my essays to ... Or is a reader a reader a reader to you? ...
    (misc.writing)
  • all kinds of attention
    ... I enjoy writing things that disturb people, offend people, or just makes them react. ... Even if it's pulling a quote from one of my essays to prove that I'm a tool for one reason or another, I love that people read the words enough to quote them. ... Or is a reader a reader a reader to you? ...
    (misc.writing)
  • Re: Is this bug in Getopt::Std?
    ... But does "it" find a quote? ... 'Command' ... "Gewoon is een tijger." ...
    (comp.lang.perl.modules)
  • Re: RSGB membership falls by 800
    ... Nice quote, but you can't have a match with only one person.... ... Gareth even took offence at the use of ""! ... He seems now to react to toothpaste! ...
    (uk.radio.amateur)