Depending on your use case, you might also be able to use CHI
(https://metacpan.org/pod/CHI).  I've used that pattern before for sharing
data between processes.  It has the benefit of the abstraction, so if
necessary you can add Layer 1 caches, change the backend to using Redis or
Memcached as you scale.  But, it's not a direct hash interface as you have to
use the CHI.

Lauren C. <lau...@miscnote.net> wrote:
Do you know how to tie a hash to a disk file thus read by another process?

Currently my solution is writing the data to a JSON file and read it from the 
other program.

Thank you.


--
Brad

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to