Lines Matching refs:data
9 # to the font of the cached data. The format of the header will be:
63 my ($data, $last_access, $expire_time, $num_uses_left) = _get_item($_[0]{C}{$_[1]});
67 _set_header(@_, $data, $last_access, $expire_time, $num_uses_left);
68 $data;
105 my ($self, $key, $data, @header) = @_;
106 $self->{C}{$key} = _make_header(@header) . $data;
110 my $data = substr($_[0], 10);
112 # print STDERR " >> _get_item: $data => $data @header\n";
113 ($data, @header);
153 numeric value. Cached data will expire after this many seconds, and
154 will be looked up afresh when it expires. When a data item is looked
158 data item will be discarded and looked up afresh after the I<n>th time
159 you access it. When a data item is looked up afresh, its number of
162 If you specify both arguments, data will be discarded from the cache
165 Memoize::Expire uses a real hash internally to store the cached data.
175 # Memoize::Expire enforces data expiration policy
177 # DB_File implements persistence of data in a disk file
252 data is and things like that. Let us call this object `C'.
317 work with Memoize and provides expiration of least-recently-used data.
318 The cache is held at a fixed number of entries, and when new data
319 comes in, the least-recently used data is expired. See