You can use eg. the Storeble module or YAML or JSON to save the hash between sessions.
Perl--Can I save variables in workspace?
Domanda
Is it possible to save the variables or just a hash in perl workspace? For example, this can be done in Matlab with 'save' function.
edit: I am reading several text files and generating a hash out of them. When a new text file comes, I want to update this hash w/o re-doing everything from the beginning.
Thanks.
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow