in reply to Counting words

Hi, welcome,

"I'm lost and I don't know what to search for""

"This works! ... Bit confused about how tho"

Remain not in ignorance!

  1. perlrequick: "the very basics"
  2. perlretut: "a basic tutorial"
  3. perlre: "the syntax"

(Also ... it's not "a code" -- it's a program, or alternatively a script, written in Perl (could be any computer language). The program in its written state is referred to as the "source code" or "the code.")


The way forward always starts with a minimal test.