che cache_A01 --alternatives
ironcache.pl list items .+ --cache cache_A01 --config iron_cache.json
ironcache.pl list items item.01_0[[:digit:]]{1} --cache cache_B05
ironcache.pl list items
$VERSION = '0.12'; # VERSION: generated by DZP::OurPkgVersion
use Log::Any qw{$log};
require JSON::MaybeXS;
use Data::UUID ();
use Hash::Util 0.06 qw{lock_keys lock_keys_plus unlock_keys legal_ke
->fatalf("Missing config item \'project_id\'. Please check that Iron.io config is accessible (by .json file or environmental variables).");
$log->tracef('Exiting check_for_iron_io_config():%d'
ard characters can be used in
cache names, item keys, etc.
For example, if F<iron_cache_policies.json>:
{
"definition":{
"character_group":{
"[:lim_uchar:]":"
}
}
then
ironcache list items .* --cache cache_A01 --policies iron_cache_policies.json
would print out:
Cache Item expires
cache_A01
g. B<ironcache get item item.02_A.{2} --cache cache_A01 --config iron_cache.json --policies iron_cache_policies_test_01.json --warn>
=back
=item increment: Increment an item/items in cache/caches.
ile_name = 'iron_cache.json';
BAIL_OUT("File " . $config_file_name . " not exists! Quitting...") if(!-e $config_file_name);;
my $policies_file_name = 'iron_cache_policies.json';
my $policies_file_c