X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=lib%2FIndexData%2FUtils.pm;h=befe9c73e26d75d938e17441678525dcda5acf1d;hb=HEAD;hp=33719c3450f918877c1b9e83e868b31d917cfe2c;hpb=074207218063d6decb299f018e4071326727d74a;p=perl-indexdata-utils.git diff --git a/lib/IndexData/Utils.pm b/lib/IndexData/Utils.pm index 33719c3..befe9c7 100644 --- a/lib/IndexData/Utils.pm +++ b/lib/IndexData/Utils.pm @@ -1,86 +1,46 @@ package IndexData::Utils; -use 5.018002; +use 5.008008; use strict; use warnings; -require Exporter; -use AutoLoader qw(AUTOLOAD); +our $VERSION = '0.02'; -our @ISA = qw(Exporter); - -# Items to export into callers namespace by default. Note: do not export -# names by default without a very good reason. Use EXPORT_OK instead. -# Do not simply export all your public functions/methods/constants. - -# This allows declaration use IndexData::Utils ':all'; -# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK -# will save memory. -our %EXPORT_TAGS = ( 'all' => [ qw( - -) ] ); - -our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); - -our @EXPORT = qw( - -); - -our $VERSION = '0.01'; - - -# Preloaded methods go here. - -# Autoload methods go after =cut, and are processed by the autosplit program. +use IndexData::Utils::PersistentCounter; 1; __END__ -# Below is stub documentation for your module. You'd better edit it! + =head1 NAME -IndexData::Utils - Perl extension for blah blah blah +IndexData::Utils - Utility Perl extension for Index Data applications =head1 SYNOPSIS use IndexData::Utils; - blah blah blah + # Use functions from the various submodules. =head1 DESCRIPTION -Stub documentation for IndexData::Utils, created by h2xs. It looks like the -author of the extension was negligent enough to leave the stub -unedited. - -Blah blah blah. - -=head2 EXPORT - -None by default. - - +This library contains utility functions that we at Index Data want to +share between multiple applications -- for example, the persistent +counter used by both IRSpy (see issue IR-350) and MKHome (IR-351). =head1 SEE ALSO -Mention other useful documentation such as the documentation of -related modules or operating system documentation (such as man pages -in UNIX), or any relevant external documentation such as RFCs or -standards. - -If you have a mailing list set up for your module, mention it here. - -If you have a web site set up for your module, mention it here. +IndexData::Utils::PersistentCounter =head1 AUTHOR -Mike Taylor, Emike@E +Mike Taylor, Emike@indexdata.comE =head1 COPYRIGHT AND LICENSE -Copyright (C) 2014 by Mike Taylor +Copyright (C) 2014 by Index Data. This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself, either Perl version 5.18.2 or, +it under the same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.