in reply to Re^4: Consolidating nstore arrays
in thread Consolidating nstore arrays
According to my documentation for Storable (perl v5.26.0) this output is not possible. nstore can only store one reference.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Consolidating nstore arrays
by afoken (Chancellor) on Sep 01, 2017 at 06:51 UTC | |
According to my documentation for Storable (perl v5.26.0) this output is not possible. nstore can only store one reference. Looks like a beginner trap of Data::Dumper. To dump an array, you have to use Dumper(\@array), not Dumper(@array). If you use the latter, Data::Dumper assumes that you want to see one variable per array element. And in this case, the array(s) contain a total of about 150_000 elements, which explains the 150_000 variables listed by Data::Dumper. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-) | [reply] [d/l] [select] |
by Speed_Freak (Sexton) on Sep 01, 2017 at 11:42 UTC | |
ahh, I see the difference!
| [reply] [d/l] |
|
Re^6: Consolidating nstore arrays
by Anonymous Monk on Aug 31, 2017 at 23:31 UTC | |
hmm, I don't know what to say. The files are created by storing an array with nstore. | [reply] |