in reply to Re: Fetching data from DB and complex data structures
in thread Fetching data from DB and complex data structures
Thank you very much.
Just a question. Since I'm pretty new to Perl I cannot understand that "strange construct" in the while loop:
$text->{$line}[$pos - 1] = $word;Please, can you give some more details on it?
Then here come the second question/problem. As far I can see keys are the original line numbers and values are references to arrays containing the words of each line. In that case, if I'm not in wrong, keys/lines do not respect the original order of my text. Is it true?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Fetching data from DB and complex data structures
by AnomalousMonk (Archbishop) on Dec 14, 2015 at 16:59 UTC | |
|
Re^3: Fetching data from DB and complex data structures
by choroba (Cardinal) on Dec 14, 2015 at 22:11 UTC | |
by frasco (Beadle) on Dec 15, 2015 at 11:51 UTC | |
by choroba (Cardinal) on Dec 15, 2015 at 13:12 UTC | |
by frasco (Beadle) on Dec 15, 2015 at 13:58 UTC |