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
In reply to Re: reading file into an array
by lostjimmy
in thread reading file into an array
by vassago
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |