List::Filter::Storage::CODE

Reads in standard libraries of filters from code
Download

List::Filter::Storage::CODE Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Joseph Brenner
  • Publisher web site:
  • http://search.cpan.org/~doom/

List::Filter::Storage::CODE Tags


List::Filter::Storage::CODE Description

Reads in standard libraries of filters from code List::Filter::Storage::CODE is a Perl module that reads in standard libraries of filters from code.SYNOPSIS # This is a plugin, not intended for direct use. # See: List:Filter:Storage use List::Filter::Storage::CODE; # load all of transforms from standard library module location my $storage = List::Filter::Storage::CODE->new({ type => 'transform', }); # load just the specified filter libraries # (Note: allows non-standard locations, and/or conserves memory) my $storage = List::Filter::Storage::CODE->new({ connect_to => , type => 'filter', }); # Retrieving a filter my $filter = $storage->lookup( ':omit' );The List::Filter project ships with some standard filters defined in perl code. The "CODE" storage location format allows these filters to be looked up by name using the standard storage interface.This format may be used in two ways:(1) by default it will slurp in all definitions found in all of the modules found in the standard library location for the data type (e.g. for "filter" it will look in "List::Filter::Library::*" , for "transform" it will look in "List::Filter::Transform::Library::*").(2) It can be provided with a list of libary names, (which should correspond to file names: .pm), and it will only load the filters from those particular files. Requirements: · Perl


List::Filter::Storage::CODE Related Software