in reply to Cannot skip first lines in array
I don't think you saw exactly that code in any book. You should replace:
withif (/1 .. 10/) {next;}
Of course that doesn't actually work either because it will only work in the context of a:if (0 .. 9) {next;}
type statement.while(<FILEHANDLE>) { # ... }
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot skip first lines in array
by ihb (Deacon) on Oct 20, 2004 at 13:01 UTC | |
|
Re^2: Cannot skip first lines in array
by tinita (Parson) on Oct 21, 2004 at 12:28 UTC | |
|
Re^2: Cannot skip first lines in array
by travisbickle34 (Beadle) on Oct 20, 2004 at 12:42 UTC |