Redis::CappedCollection::Util - String manipulation utilities.
This documentation refers to Redis::CappedCollection::Util version 1.10
Redis::CappedCollection::Util
use 5.010; use strict; use warnings; use Redis::CappedCollection::Util qw( format_message ); $string = format_message( 'Object %d loaded. Status: %s', $id, $message );
String manipulation utilities.
Use these functions by importing them into your package or by calling a fully-qualified method name.
say format_reference( $object );
Dumps reference using preconfigured Data::Dumper. Produces less verbose output than default Data::Dumper settings.
$string = format_message( 'Object %d loaded. Status: %s', $id, $message );
Returns string formatted using printf-style syntax.
If there are more than one argument and the first argument contains %... conversions, arguments are converted to a string message using sprintf(). In this case, undefined values are printed as <undef> and references are converted to strings using "format_reference".
%...
sprintf()
<undef>
The basic operation of the Redis::CappedCollection package modules:
Redis::CappedCollection - Provides fixed size (determined by 'maxmemory' Redis server setting) collections with FIFO data removal.
Redis::CappedCollection is hosted on GitHub: https://github.com/TrackingSoft/Redis-CappedCollection
Sergey Gladkov, <sgladkov@trackingsoft.com>
Please use GitHub project link above to report problems or contact authors.
Alexander Solovey
Jeremy Jordan
Vlad Marchenko
Copyright (C) 2012-2016 by TrackingSoft LLC.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic at http://dev.perl.org/licenses/artistic.html.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Redis::CappedCollection, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Redis::CappedCollection
CPAN shell
perl -MCPAN -e shell install Redis::CappedCollection
For more information on module installation, please visit the detailed CPAN module installation guide.