Lines Matching refs:filter

48     my $filter = pop @{ $stack };
50 # remove the filter hooks if this is the last filter to pop
59 return $filter;
104 my $filter = *{ "${class}::Filter" }{CODE};
107 my $count = defined($filter) + defined($store) + defined($fetch) ;
111 elsif ( $count == 1 && ! defined $filter) {
115 elsif ( $count >= 2 && defined $filter)
118 if (defined $filter) {
119 my $callbacks = &{ $filter }(@params);
297 C<$_> variable to be populated with the key or value that a filter will
332 Add a filter to filter stack for the database, C<$db>. The three formats
339 The filter is applied to I<both> keys and values.
343 The filter is applied to the key I<only>.
347 The filter is applied to the value I<only>.
354 Removes the last filter that was applied to the DBM file associated with
370 An immediate filter allows you to specify the filter code to be used
371 at the point where the filter is applied to a dbm. In this mode the
383 For example, here is a sample filter that adds a trailing NULL character
405 problems it can be useful to package the filter up in its own module.
407 The usage is for a canned filter is:
427 any optional parameters that need to be sent to the filter. See the
428 encode filter for an example of a module that uses parameters.
432 The module that implements the canned filter can take one of two
468 The second form allows the filter to hold state information using a
500 The filter included are:
517 This filter will compress all data before it is written to the database
533 in a string when it writes to the DBM file. This filter will ensure that
542 When writing a DBM filter it is I<very> important to ensure that it is
543 possible to retrieve all data that you have written when the DBM filter