There's more than one way to do things | |
PerlMonks |
Re: threads::shared vs IPC::Shareableby Anonymous Monk |
on Dec 02, 2015 at 18:59 UTC ( [id://1149202]=note: print w/replies, xml ) | Need Help?? |
What is the purpose of the hash here? Do you need to build some lookup index? Sort or categorize? Natural fit for a preprocessor is to function as a filter. Keep state but don't slurp the data. You can pipe it and stream it. But if complicated queries are required, then a database model might be more suitable.
In Section
Seekers of Perl Wisdom
|
|