Net::WURFL::ScientiaMobile::Cache::Cache - Cache provider for the WURFL Cloud Client based on Cache.pm
use Net::WURFL::ScientiaMobile; use Net::WURFL::ScientiaMobile::Cache::Cache; my $scientiamobile = Net::WURFL::ScientiaMobile->new( api_key => '...', cache => Net::WURFL::ScientiaMobile::Cache::Cache->new( cache => Cache::File->new(cache_root => '/tmp/cacheroot'), ), );
This WURFL Cloud Client Cache Provider provides a bridge to use Cache-based modules.
The new constructor accepts the following named arguments.
new
Required. An instance of a caching module which implements the Cache interface.
You can use this argument to customize the namespace prefix used by this module to store general data. The default is dbapi_.
Net::WURFL::ScientiaMobile, Net::WURFL::ScientiaMobile::Cache
Copyright 2012, ScientiaMobile, Inc.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::WURFL::ScientiaMobile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::WURFL::ScientiaMobile
CPAN shell
perl -MCPAN -e shell install Net::WURFL::ScientiaMobile
For more information on module installation, please visit the detailed CPAN module installation guide.