in reply to Cant use array with numbers??
Goodness, there are so many ways of doing that sort of thing in Perl…
#!perl use strict; use warnings; my @array; @array = <DATA>; print (grep { !/^DontPrintMe$/} @array); __DATA__ print me! no, print me! DontPrintMe Look out for open manholes Do print me!
Incidentally, Perl is Turing-complete, as are quite a few other programming languages. Stating that Perl is "almost as powerfull[sic] as C++" is, first, incorrect, and, second, could be construed as insulting, as it seems to imply that "real programmers don't use Perl."
|
|---|