in reply to Cant use array with numbers??
Read for.
Normally, you want to provide C++ and Perl with syntactically correct code though.
The way of performing a loop over a list of array elements in Perl is usually:
foreach (@Array) { next if $_ eq "DontPrintMe"; print $_; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cant use array with numbers??
by robot_tourist (Hermit) on Sep 18, 2007 at 11:00 UTC |