DanielM0412 has asked for the wisdom of the Perl Monks concerning the following question:
Say i have a file with a matrix whose dimensions i dont know and i need to read it in, how would you make a program as short as possible, that can read in any matrix with any dimensions?? I did something similar but its not flexible :/ thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how do i read in ANY 2d array
by BrowserUk (Patriarch) on Jul 26, 2011 at 16:23 UTC | |
|
Re: how do i read in ANY 2d array
by davido (Cardinal) on Jul 26, 2011 at 18:45 UTC | |
|
Re: how do i read in ANY 2d array
by fisher (Priest) on Jul 26, 2011 at 15:41 UTC | |
by DanielM0412 (Acolyte) on Jul 26, 2011 at 16:05 UTC | |
by fisher (Priest) on Jul 26, 2011 at 20:05 UTC | |
|
Re: how do i read in ANY 2d array
by Marshall (Canon) on Jul 27, 2011 at 13:42 UTC |