in reply to list array

Simpler:
print "$_\n" for @allfiles;

"The dead do not recognize context" -- Kai, Lexx

Replies are listed 'Best First'.
Re^2: list array
by Aristotle (Chancellor) on Feb 19, 2003 at 06:29 UTC
    Inhowfar is that simpler? It loops over @allfiles just like the other solutions, but it calls print repeatedly, once per array element. The other solutions do not.

    Makeshifts last the longest.

      Conceptually simpler. A newbie probably shouldn't be using map to do this sort of thing.
      "The dead do not recognize context" -- Kai, Lexx
        He'll forever stay a newbie if "protected" and not exposed to it.

        Makeshifts last the longest.