in reply to Re^3: when is "my" not necessary?
in thread when is "my" not necessary?
If the question is still too simple to answer one way or another, how about answering this: under what conditions is one more efficient memory-wise, performance-wise, or otherwise?
Independently of that question, let me throw in this: I have a text file that I parse with perl and build hashes based on that data. Think of it as a cross-referencing dataset with references pointing every which way. In order to avoid reparsing this each and every time the program starts up (it'll be a cgi script, and the data it reads is static), what would be the best way to just dump the hashes into a file and load it back up in one swell foop so as to optimize performance? Would the above "Dumper" package be a good choice? And in this case, would I want to use the hash reference form discussed above?
dan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: when is "my" not necessary?
by runrig (Abbot) on Nov 17, 2004 at 00:37 UTC | |
by demerphq (Chancellor) on Nov 17, 2004 at 21:54 UTC |