1) Can I use this module in order to store my hash between sessions
It might mostly work, but it's not at all advisable. Caches are there to speed up lookups that would otherwise take longer, but they are not intended to keep always all information. (It's not the primary goal to avoid data loss, as opposed to "real" storage solutions).
for sessions there's CGI::Session or Storable, depending on the abstraction level you want.
In the CPAN tutorial I found an example of usage. What are $name and $customer there.
$customer is a data structure to be cached, and $name is a name uniquely identifying that structure.
3) Can somebody who has a similar task give me an example of working usage.
Most CPAN modules come with test files which are also working examples. You can find them by clicking on the MANIFEST link on the distribution overview page, for Cache::Cache it's here.
In reply to Re: Cache::Cache questions
by moritz
in thread Cache::Cache questions
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |