the other approach would be to simply run through the file, one line at a time, and to split() the line into $x, $y and $beans, after which you simply add it to a 1-dimensional hash using ie $beancounter{$x}{$y} = $beans;
hope that helps a bit
In reply to Re: 3d arrays
by Forsaken
in thread 3d arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |