in reply to reading file into an array
I think we're going to need to see more code. There is no way that you could be getting a multidimensional (read: array of arrays) array from reading a file. I'd like to see what you are doing
An easy fix to start on line 14 would be something like:
#!/usr/bin/perl use strict; use warnings; for (1..13) { <DATA>; } while (<DATA>) { print; } __DATA__ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reading file into an array
by vassago (Novice) on Dec 05, 2008 at 21:20 UTC | |
by gwadej (Chaplain) on Dec 05, 2008 at 21:39 UTC |