hambo has asked for the wisdom of the Perl Monks concerning the following question:

Hiya Monks!

I am using Clinton DeWitt's Cache::FileCache
My problem is that I am putting a data structure in the cache and want to traverse it now to get it out. I don't know the keys that are being used, so I need to have some means of traversing the cache, obtaining the keys and from there obtaining the rest of the data structure associated with those keys.

Anyone have some bright idea of how to do this?
Tx,

Hambo
Open Source - Where everything is QED

Replies are listed 'Best First'.
Re: Traversing a Cache::FileCache
by Limbic~Region (Chancellor) on Jul 16, 2004 at 13:17 UTC
    hambo,
    Seeing a snippet of what you mean by "putting a data structure in the cache" would make answering this a lot easier. If you are using a unique namespace for each data structure you should be able to use the get_keys( ) method. Beyond that it will be necessary to see what you are doing.

    Cheers - L~R

•Re: Traversing a Cache::FileCache
by merlyn (Sage) on Jul 16, 2004 at 13:48 UTC
Re: Traversing a Cache::FileCache
by hambo (Novice) on Jul 16, 2004 at 18:46 UTC
    My sincere apologies folks. I cannot read for seeing!!!!
    Sorry to have wasted your time and thank to merlyn and lymbic-region for pointing out the....well absolutely obvious!

    Hambo
    Open Source - Where everything is QED